6 May 2007

From Organic Design wiki
Revision as of 21:38, 5 May 2007 by Nad (talk | contribs) (Categoriation parser-function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{news:title=Categoriation parser-function|img=|text= Since we've upgraded from XmlWiki, we've had a bit of trouble categorising our program-code articles since they don't use the wiki-parser. In XmlWiki this was achieved by adding the category information to the articles XML properties. Today I've modified the CategoryHook extension to also offer an additional parser function which works exactly like a category link, for example:

{{Category:Foo|Bar}}

This categorises the article into Category:Foo using sort-key "Bar". It works because our script articles are still allowed to have their templates expanded before GeSHi parses them (see our GeSHi hack regarding this).

}}