Last modified: 2010-05-15 15:29:41 UTC
* MediaWiki v1.8.2 * CategoryTree SVN version from 2006-10-15 Building a template to include a <category> box with a given root as parameter does not work. The output of the template will be empty. Steps to reproduce: 1. Make a template <category>{{{1|root}}}</category> 2. Template will be shown empty. 3. Include template in any other page giving a root category as parameter - {{{name|other root}}} - nothing will be shown. 4. Include template without parameter to show category tree of default root - {{{name}}} - nothing will be shown. 5. Change template to <category>root</category>. 6. Template will work.
Template Parameters are never interpretet inside "extension tags". Nothing inside extension tags is ever touched by the parser. So, this is a CANTFIX from my side, until the parser hook mechanism has a way to tell the parser to subsitute template parameters befory applying extension tags.
Bug 5253 is related - I guess there's a bugreport for the general template-parameters-in-extension-tags problem, but i can't find it right now...
This isn't a CategoryTree bug, it's in MediaWiki. This is basically a consequence of the fact that our parser is multipass, and *that* isn't being solved too soon. Eventually it will be, though, one hopes.
*** This bug has been marked as a duplicate of 2257 ***