Page MenuHomePhabricator

MediaWiki API help page loads module 'ext.categoryTree' although there no sidebar
Closed, ResolvedPublic

Description

When a CategoryTree in the sidebar is enabled by setting $wgCategoryTreeSidebarRoot then the module 'ext.categoryTree' gets also loaded on the MediaWiki API help (on api.php) although there no sidebar.

Expected behavior: Setting $wgCategoryTreeSidebarRoot should only load the module 'ext.categoryTree' when there is a sidebar.

Event Timeline

Change 481958 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[mediawiki/extensions/CategoryTree@master] Explicit add modules when using in sidebar

https://gerrit.wikimedia.org/r/481958

Change 481958 merged by jenkins-bot:
[mediawiki/extensions/CategoryTree@master] Change hooks to explicitly load the modules

https://gerrit.wikimedia.org/r/481958