Hello Fellow-MoinMoiners! on a page in our wiki I include the NewPage macro. So far, so good.
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. In fact, the user should only click a button to create a page with a prescribed name. A randomly generated UUID is not what I have in mind. I can have date/ time expanded but this looks not nice. I doubt a sequence can be done with what Moin provides so far. Am I right? Has someone solved this problem? Do I have to customize this macro? (I doubt I can achieve that :-( ) How does one count and keep variables? BTW Moin's "variables" are rather "constants". Or is there a way to vary a variables usig a macro, a script or whatever - except typing it in the Dict? Your answer & help is highly appreciated! Best Regards, Uwe Werner ------------------------------------------------------------------------------ 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