mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-15 20:09:58 +00:00
27289b479d
This change adds the needed modules to the page in the same hook that adds the category tree HTML. This avoids loading the modules on skins without a sidebar, like SkinApi, or on pages without categories. A forced-loading of the modules from BeforePageDisplay hook is not necessary anymore in those cases. This change avoids getting the OutputPage object from the global $wgOut. Bug: T212820 Change-Id: I2bd50c45aa201a06630af3d57c9bcfccf7b22b99 |
||
---|---|---|
.. | ||
ApiCategoryTree.php | ||
CategoryTree.php | ||
CategoryTreeCategoryPage.php | ||
CategoryTreeCategoryViewer.php | ||
CategoryTreeHidePrefix.php | ||
CategoryTreeHooks.php | ||
CategoryTreeMode.php | ||
CategoryTreePage.php |