Extension:Vector

The Vector extension adds a few enhancements to the Vector skin. Note that these features are only available in Vector, not in other skins.

This extension has been migrated from Extension:UsabilityInitiative. During this migration this extension was ported to make use of ResourceLoader functionality, making it only compatible with MediaWiki 1.17+. If you are upgrading from the UsabilityInitiative (MediaWiki 1.16 compatible) version, you may need to pay attention to the change in naming for configuration variables. See README for an example.

Installation

 * 1) Get the extension with distributor or svn and drop it into MediaWiki directory /extensions
 * 2) Setup your as explained in README file.

EditWarning
Add a warning to editor when they leave the edit form without saving.

Enabled by adding: $wgDefaultUserOptions['useeditwarning'] = 1;

Set false to disable EditWarning globally. $wgVectorFeatures['editwarning']['global'] = false;

Allow users to enable EditWarning in their preferences $wgVectorFeatures['editwarning']['user'] = true;

CollapsibleTabs
Collapse the navigation tabs on top when space is tight.

Enabled by default. Set false to disable CollapsibleTabs globally. $wgVectorFeatures['collapsibletabs']['global'] = false;

Allow users to enable CollapsibleTabs in their preferences $wgVectorFeatures['collapsibletabs']['user'] = true;

CollapsibleLeftNav
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;

FooterCleanup
FIXME

Disabled by default. $wgVectorFeatures['footercleanup']['global'] = false; $wgVectorFeatures['footercleanup']['user'] = false;

ExpandableSearch
Expands the Search box when focused.

Disabled by default. $wgVectorFeatures['expandablesearch']['global'] = false; $wgVectorFeatures['expandablesearch']['user'] = false;

SectionEditLinks
Moves section edit links over to be next to the heading text and add an icon to them. Also includes bucket-testing and click-tracking functionality for evaluating the impact of this feature. More information about the design behind this feature here.

SimpleSearch
Improve the look and feel of the search box.

$wgVectorUseSimpleSearch = true;

By default, the Vector skin does not use the simplified search box. To take advantage of the simplesearch feature you must add this to your LocalSettings.php file.