Last modified: 2010-05-15 15:29:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7591 - Template parameters don't work in extension tags
Template parameters don't work in extension tags
Status: RESOLVED DUPLICATE of bug 2257
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-10-15 19:56 UTC by Manuel Schneider
Modified: 2010-05-15 15:29 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Manuel Schneider 2006-10-15 19:56:15 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 
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.
Comment 1 Daniel Kinzler 2006-10-15 20:27:55 UTC
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.
Comment 2 Daniel Kinzler 2006-10-15 20:30:16 UTC
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...
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-16 00:45:30 UTC
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.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-16 00:53:37 UTC

*** This bug has been marked as a duplicate of 2257 ***

Note You need to log in before you can comment on or make changes to this bug.