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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9591, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
1.3.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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 
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.
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.


Navigation
Links