Last modified: 2012-01-19 18:34:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29795, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27795 - make $wgSelectCategoryMaxLevel working
make $wgSelectCategoryMaxLevel working
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SelectCategory (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Leon Weber
: patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-28 20:47 UTC by Christian Boltz
Modified: 2012-01-19 18:34 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
patch to make $SelectCategoryMaxLevel working (1.56 KB, patch)
2011-02-28 20:47 UTC, Christian Boltz
Details

Description Christian Boltz 2011-02-28 20:47:29 UTC
Created attachment 8227 [details]
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 ;-)
Comment 1 Mark A. Hershberger 2011-03-01 19:27:08 UTC
applied in r83039

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links