[Moin-user] [spamsfaked-from] Re: Can one set the creation and modify dates of an article?
Roger Haase
crosseyedpenguin at yahoo.com
Thu Feb 11 11:47:36 EST 2010
--- On Thu, 2/11/10, Chris G <cl at isbd.net> wrote:
> From: Chris G <cl at isbd.net>
> Subject: Re: [Moin-user] [spamsfaked-from] Re: Can one set the creation and modify dates of an article?
> To: moin-user at lists.sourceforge.net
> Date: Thursday, February 11, 2010, 7:08 AM
> On Thu, Feb 11, 2010 at 01:20:29PM
> +0100, Thomas Waldmann wrote:
> > Another hint:
> >
> > > I'm aiming to create a wiki with *history* in
> many parts of it
> >
> > If that history leaves the date range with valid 32bit
> UNIX timestamps
> > (1.1.1970..some date in 2038 iirc), better just use
> normal text for your
> > dates, not macros.
> >
> Am I missing something here? :-)
>
Yes! Your wiki pages should contain ALL your content. You are trying to misuse a wiki control field for something other than its intended purpose. You need to find a different way to create your content on your wiki pages.
If you want a page summarizing your history, then just create a page:
=My Page History=
PageOne date1 author1 ...
PageTwo date2 author2 ...
If you want to sort it, there is sorttables.
If you want your "creation date" within your pages, then add a date with a label describing what it is. That should work for the first 5 pages.
When you get to 50 or 500 pages, then you may want to create an sqllite table and a couple of macros to read the sql table. One macro would format the whole table for My Page History and the other macro would format whatever you want at the front/middle/end of a topic page.
It is a really, really bad idea to try to modify the meaning and usage of the Wiki page creation date or last revision date to suit some other purpose.
Roger Haase
More information about the Moin-user
mailing list