Extension:CollapsibleVector

From Linux Web Expert

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
  • $wgCollapsibleVectorFeatures
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/CollapsibleVector</tvar>|Download]] and move the extracted <tvar name=name>CollapsibleVector</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CollapsibleVector
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'CollapsibleVector' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>

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;