Topic on Project:Support desk

Jump to: navigation, search

Drop-down menus on MediaWiki's sidebar

GuJiaXian (talkcontribs)

A simple question that I cannot seem to find the answer for: there are dropdown "close-able" menus on's sidebar. Is this inherent functionality, or is this an extension? I'd like to get the same functionality running on my wiki. Thanks!

Bawolff (talkcontribs)

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

GuJiaXian (talkcontribs)

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

Bawolff (talkcontribs)

No, you need the other one. (talkcontribs)

Can this be used with 1.15.1?

Bawolff (talkcontribs)

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

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

Bawolff (talkcontribs)

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. (talkcontribs)

I don't see how to get the categories to 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.


Bawolff (talkcontribs)

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. (talkcontribs)

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 ), (talkcontribs)

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

Reply to "Drop-down menus on MediaWiki's sidebar"