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!
Topic on Project:Support desk
extension:UsabilityInitiative or Extension:Vector#CollapsibleLeftNav depending on your version of mediawiki.
I'm running 1.16.1 with Vector as my skin. I think I should be using Extension:Vector#CollapsibleLeftNav; this that correct?
No, you need the other one.
Can this be used with 1.15.1?
No. It requires the vector skin, which is in 1.16
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.
Thanks
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
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?