Topic on Extension talk:CategoryTree

Showing "Pages" in sidebar not working

3
99.73.116.125 (talkcontribs)

The default functionality for the sidebar works fine, but when put into pages mode it no longer works (no drop down arrows show).

$wgCategoryTreeSidebarRoot="Categories";

$wgCategoryTreeSidebarOptions['mode']='pages';

Mediawiki version 1.27.4.

104.129.194.54 (talkcontribs)

I am experiencing this as well and considered the fix shown by bhuber below Topic:Sde4gvisgd1ffcez under "Fix for making CategoryTree work in sidebar again with MW 1.24.1 and Vector skin" but it appears the .js file has been changed since then as the beginning area was different.

Ksumwalt (talkcontribs)

To fix this, apply the same basic principle as explained in Topic:Sde4gvisgd1ffcez by looking for

$content.find( '.CategoryTreeToggle' )

and changing it to

$( '.CategoryTreeToggle' )

which is removing the content.find. be sure to leave the leading $ character.

This edit is still made in the file:

ext.categoryTree.js

which is in the modules subfolder of the extension

Reply to "Showing "Pages" in sidebar not working"