MediaWiki extensions manual
CollapsibleVector
Release status: stable
Implementation MyWiki , Skin
Description Improves on the user interface elements of the Vector skin
Author(s) Paladox
Latest version 0.1.10 (2021-09-19)
MediaWiki 1.35.3+
Database changes No
Composer mediawiki/collapsible-vector
License GNU General Public License 2.0 or later
Download
Parameters
  • $wgCollapsibleVectorFeatures
Hooks used
  • BeforePageDisplay
  • GetPreferences
  • MakeGlobalVariablesScript
  • ResourceLoaderGetConfigVars
Quarterly downloads 133 (Ranked 70th)
Translate the CollapsibleVector extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The CollapsibleVector extension is used for bring back the collapsible navigation portals to the sidebar that were removed from Vector skin.

Installation

  • Download and place the file(s) in a directory called CollapsibleVector in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'CollapsibleVector' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Features

CollapsibleNav

Make the sections in the left navigation collapsible/expandable.

Enabled by default. Set false to disable CollapsibleNav globally.

$wgCollapsibleVectorFeatures['collapsiblenav']['global'] = false;

Allow users to enable CollapsibleNav in their preferences.

$wgCollapsibleVectorFeatures['collapsiblenav']['user'] = true;
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.