Hi all, Marking Wiki pages/howtos by CentOS version was discussed a while ago. How about using something like the attached MoinMoin (plugin) macro? It adds a macro named 'CentOSVersion' that could mark the page at the beginning of an howto in a uniform manner: [[CentOSVersion(4,5)]] This will draw a little table of the following form: --------------------------- | CentOS version: | 4 | 5 | --------------------------- Of course, this can be tweaked easily. -- Daniel -------------- next part -------------- A non-text attachment was scrubbed... Name: CentOSVersion.py Type: text/x-python Size: 893 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20070505/a2970d8f/attachment-0004.py>
On 5/5/07, Daniel de Kok <danieldk at pobox.com> wrote:> Hi all, > > Marking Wiki pages/howtos by CentOS version was discussed a while ago. > How about using something like the attached MoinMoin (plugin) macro? It > adds a macro named 'CentOSVersion' that could mark the page at the > beginning of an howto in a uniform manner: > > [[CentOSVersion(4,5)]] > > This will draw a little table of the following form: > > --------------------------- > | CentOS version: | 4 | 5 | > --------------------------- > > Of course, this can be tweaked easily.Hi Daniel, Wonder if it should or should not allow things like 6beta? Or xx.plus? Akemi
Daniel de Kok wrote:> Hi all, > > Marking Wiki pages/howtos by CentOS version was discussed a while ago. > How about using something like the attached MoinMoin (plugin) macro? It > adds a macro named 'CentOSVersion' that could mark the page at the > beginning of an howto in a uniform manner: > > [[CentOSVersion(4,5)]] > > This will draw a little table of the following form: > > --------------------------- > | CentOS version: | 4 | 5 | > ---------------------------That's drawn in the page? Sounds like a good idea to me - although somthing similar can be done with [[TableOfContents(2)]] when pages have == CentOS 5 === CentOS 4 == == CentOS 3 = heading structures in them. Although wiki.centos.org doesn't seem to honor the heading depth at the moment. Cheers, Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20070506/95260009/attachment-0004.sig>