Page MenuHomePhabricator

make $wgSelectCategoryMaxLevel working
Closed, ResolvedPublic

Description

patch to make $SelectCategoryMaxLevel working

I updated to SelectCategory 0.8. The jQuery treeview is a very nice feature, however all categories are collapsed by default. This means my users see only the root category with a [+] sign.

I found $wgSelectCategoryMaxLevel in the code, but changing it didn't work.

Long story short: you need to set class='open' if a node should be open by default.

The attached patch does exactly this ;-)


Version: unspecified
Severity: major

Attached:

Details

Reference
bz27795