Last modified: 2008-07-02 08:52:08 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 T15487, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 13487 - Clicking the [+] has no effect in MediaWiki:Edittools (OutputPage::addWikiMsg() throws away script headers and metadata)
Clicking the [+] has no effect in MediaWiki:Edittools (OutputPage::addWikiMsg...
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!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-03-23 17:11 UTC by Vasily Kozlovskiy
Modified: 2008-07-02 08:52 UTC (History)
1 user (show)

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


Attachments

Description Vasily Kozlovskiy 2008-03-23 17:11:48 UTC
Clicking the [+] has no effect if <categorytree> tag is used in MediaWiki:Edittools page. 

The code is:
<categorytree depth="0" style="font-size:  x-small">Name of the category</categorytree>

Actually in the MediaWiki:Edittools page it works fine, but when the page is loaded at the bottom, while editing some other page, then clicking the [+] has no effect. It worked with MediaWiki 1.11.0 before upgrading to 1.12.0. I've then upgraded the extension to the latest revision 32355, still doesn't work. Probably some changes in 1.12 cause this.
Comment 1 Brion Vibber 2008-03-24 21:38:39 UTC
The problem appears to be with the new OutputPage::addWikiMsg() family... while the message itself is nicely formatted, things like head scripts from the parser output are all thrown away. As a result, the scripts required for any extensions used in the message (such as CategoryTree or OggHandler) won't get loaded.
Comment 2 Daniel Kinzler 2008-07-02 08:52:08 UTC
(kinf of) fixed in r36888: you can not set $wgCategoryTreeForceHeaders=true; to force the CategoryTree scripts to be included on every page. Then <categorytree> will work in all system messages that support full wiki text.

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


Navigation
Links