https://bugzilla.wikimedia.org/show_bug.cgi?id=27795

           Summary: make $wgSelectCategoryMaxLevel working
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: SelectCategory
        AssignedTo: l...@leonweber.de
        ReportedBy: mediawiki-b...@cboltz.de


Created attachment 8227
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8227
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 ;-)

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to