Drop-down menus on MediaWiki's sidebar
A simple question that I cannot seem to find the answer for: there are dropdown "close-able" menus on mediawiki.org's sidebar. Is this inherent functionality, or is this an extension? I'd like to get the same functionality running on my wiki. Thanks!
I'm running 1.16.1 with Vector as my skin. I think I should be using Extension:Vector#CollapsibleLeftNav; this that correct?
I'm trying to do the same thing...any luck on figuring this out?
What problems do you run into. 1.16 is the minimum version that this extension will work with. People using 1.15 need to upgrade to a newer mediawiki version in order to get collapsible sidebars.
I don't see how to get the categories to collapse...is there something special you're supposed to do when adding the links? I would think that anything with the ** in front of it would be collapsable to the first one above it that has a * in front of it.
No it has nothing to do with adding the links to mediawiki:Sidebar. You install the extension, the extension makes things collapsible. The only thing you have to do is install/enable extension in LocalSettings.php.
Just in case someone else is still struggling with this (as i did), the bellow needs to be added under $wgVectorModules section in the LocalSettings.php file in order to activate the collapsible Menus:
'collapsiblenav' => array( 'global' => true, 'user' => false ),
Example LocalSettings.php section:
- Shown values are defaults
$wgVectorModules = array( 'collapsibletabs' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref 'editwarning' => array( 'global' => false, 'user' => true ), 'simplesearch' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref 'collapsiblenav' => array( 'global' => true, 'user' => false ),
Thanks, that last tip is what I was looking for. Struggled for a while till I saw your post. thanks a lot