Last modified: 2007-08-25 13:23:40 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 T9653, the corresponding Phabricator task for complete and up-to-date bug report information.
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...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CategoryTree (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://fy.wiktionary.org/wiki/Wiki:Ca...
:
Depends on:
Blocks:
  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: ---


Attachments

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.


Navigation
Links