> However, what I really want is some automatism: The page to generate  
> should be named "xyz-<unique-key>" where <unique-key> is either a  
> simple sequence number (with preceeding zeros...) or whatever is  
> suitable for humans (reflecting order, easy to understand).  I don't  
> want the user to observe rules and query existing pages in order to  
> provide that <unique.key> but I want it to have generated.

I am not sure something like that exists yet. I guess that needs some
special macro or action that checks the wiki page namespace for some
criteria, determines highest number present and then creates a page with
n+1.

Alternatively, using a timestamp yyyy-mm-dd-hh-mm-ss would also be
likely unique enough.

When done right and with subpages, MonthCalendar could even navigate
that stuff (day level only).

> I doubt a sequence can be done with what Moin provides so far. Am I  
> right?

Yes, we don't provide counters.

> Do I have to customize this  macro? (I doubt I can achieve that :-( )

Looks like. Heads up, Python is easy. :)

> How does one count and keep variables?

Just query what's already there in the namespace (pagelist).



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to