Drop-down menus on MediaWiki's sidebar

Jump to: navigation, search

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!

GuJiaXian19:08, 13 January 2011

extension:UsabilityInitiative or Extension:Vector#CollapsibleLeftNav depending on your version of mediawiki.

Bawolff20:35, 13 January 2011

I'm running 1.16.1 with Vector as my skin. I think I should be using Extension:Vector#CollapsibleLeftNav; this that correct?

GuJiaXian20:49, 13 January 2011

No, you need the other one.

Bawolff03:21, 14 January 2011

Can this be used with 1.15.1?, 17 January 2011

No. It requires the vector skin, which is in 1.16

Bawolff05:38, 17 January 2011

I'm trying to do the same thing...any luck on figuring this out?, 17 January 2011

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.

Bawolff21:51, 17 January 2011

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.

Thanks, 18 January 2011

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.

Bawolff00:07, 21 January 2011

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:

  1. 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 ),, 8 April 2011

Thanks, that last tip is what I was looking for. Struggled for a while till I saw your post. thanks a lot, 23 April 2011

Trying to get the Monobook drop downs working with the code snippet from http://www.mediawiki.org/wiki/Manual:Interface/Sidebar#Make_expanding.2Fcollapsing_sidebar_for_all_users_.28Monobook_skin_only.29

Cant seem to get it working. Help please?, 11 November 2014