Jump to content
MediaWiki

Extension:CollapsibleVector

From mediawiki.org
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
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

[edit ]
  • Download and move the extracted CollapsibleVector folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:
    cdextensions/
    gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/CollapsibleVector
    
  • 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

[edit ]

CollapsibleNav

[edit ]

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 extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm.

AltStyle によって変換されたページ (->オリジナル) /