Jump to content

Topic on Project:Support desk

categorytree on sidebar: some category is not expandible

3
Gigisoave (talkcontribs)

I added categorytree on sidebar setting

$wgCategoryTreeSidebarRoot = 'Category:...'; on LocalSettings.php.

It works but some category are not expandible.

The same tree works perfectly if I included it in the page.

The situation is show in figure

Bawolff (talkcontribs)

Maybe $wgCategoryTreeSidebarOptions is set to something different than then the default for pages.

Gigisoave (talkcontribs)

Hi Bawolff

thank you for your answer. $wgCategoryTreeSidebarOptions is not set in the localsettings.php, anyway, after reading your hint, I set

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

(that should be the default) and now all the branches are expandible. It seems that before was set as category.