Last modified: 2008-07-02 08:52:08 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 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