[Moin-user] Can one set the creation and modify dates of an article?

Chris G cl at isbd.net
Tue Feb 9 18:13:42 EST 2010


On Tue, Feb 09, 2010 at 02:19:21PM -0800, Eric Johnson wrote:
> 
> On 02/09/2010 02:11 PM, Chris G wrote:
> > I want to put some articles into my wiki and 'pretend' they were put
> > there a long time ago so that the date sequence of articles makes
> > sense (this is for holiday narratives and things like that).
> >
> > Can this be done in moinmoin, i.e. is there some sort of macro or
> > action one can use to allow one to put a date into an article which
> > would get used as its creation and/or modify date?
> >
> > Something like:-
> >
> >     <<CreationDate(2009-01-04)>>
> >
> >   
> I believe that MoinMoin gets this information from the "edit-log" file
> in each page folder.  With direct access to the raw data, you can dummy
> up whatever "history" you want.
> 
> You also want to put the same entries in the "edit-log" file for the
> whole wiki.
> 
So I want a macro/plugin that allows me to set the information that
gets written to the edit-log files.  I don't fancy manipulating them
directly as the dates are in 'seconds since 1970-01-01' format by the
look of it.

-- 
Chris Green





More information about the Moin-user mailing list