Jump to content

Extension:CollapsibleVector: Difference between revisions

From mediawiki.org
Content deleted Content added
m Protected "Extension:CollapsibleVector": Persistent block evasion ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
No edit summary
Line 13: Line 13:
|image =
|image =
|imagesize =
|imagesize =
|version = 0.1.5
|version = 0.1.6
|update = 2014-12-13
|update = 2015-01-16
|mediawiki = 1.24+
|mediawiki = 1.24+
|php =
|php =

Revision as of 19:13, 9 February 2015

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.6 (2015-01-16)
MediaWiki 1.24+
Database changes No
Composer mediawiki/collapsible-vector
License GNU General Public License 2.0 or later
Download
Example http://simple-random-wikisaur.tk
  • $wgVectorFeatures
  • $wgCollapsibleNavBucketTest
  • $wgCollapsibleNavForceNewVersion
Quarterly downloads 58 (Ranked 81st)
Translate the CollapsibleVector extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

This extension is used for bring back things that were removed from vector skin.

Installation

  • Download and move the extracted CollapsibleVector folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/CollapsibleVector
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/CollapsibleVector/CollapsibleVector.php";
    
  • 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.

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

Allow users to enable CollapsibleNav in their preferences.

$wgVectorFeatures['collapsiblenav']['user'] = true;