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