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.