Topic on Project:Support desk

Drop-down menus on MediaWiki's sidebar

13
GuJiaXian (talkcontribs)

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!

Bawolff (talkcontribs)
GuJiaXian (talkcontribs)
Bawolff (talkcontribs)

No, you need the other one.

98.204.107.119 (talkcontribs)

Can this be used with 1.15.1?

Bawolff (talkcontribs)

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

98.189.165.213 (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.

98.189.165.213 (talkcontribs)

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

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.

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

24.152.180.23 (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"