Last modified: 2007-08-25 13:23:40 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 7653 - Category Tree does not see the argument that MediaWiki:Categorytree-header puts in a template.
Category Tree does not see the argument that MediaWiki:Categorytree-header pu...
Product: MediaWiki extensions
Classification: Unclassified
CategoryTree (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2006-10-20 22:55 UTC by aliter
Modified: 2007-08-25 13:23 UTC (History)
0 users

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


Description aliter 2006-10-20 22:55:06 UTC
I used a simple text style template in MediaWiki:Categorytree-header. The text
does show on that page, but on CategoryTree it shows up as {{{1}}}.
Comment 1 aliter 2006-10-30 23:05:59 UTC
The same for MediaWiki:Makebot-header on Wiki:Makebot.
Comment 2 Rob Church 2006-12-19 13:24:54 UTC
Fixed for MakeBot in r18444.
Comment 3 Rob Church 2006-12-19 13:36:15 UTC
Note that the general case here is us being nice and putting in a wikitext
header, but then doing something like:

$wgOut->addWikiText( wfMsg( 'someheadermessage' ) );

wfMsg() will allow the message cache to do message transformations, which messes
up templates and so forth, those get replaced at that time. This can usually be
addressed by changing this to:

$wgOut->addWikiText( wfMsgNoTrans( 'someheadermessage' ) );

This fixes the behaviour, and as a nice side-effect, should shave a tiny bit of
time off the whole operation, since a relatively expensive transformation step
isn't applied twice (once in wfMsg(), once in the implied parser run).
Comment 4 Brion Vibber 2007-08-25 13:23:40 UTC
Fixed for CategoryTree in r25132

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