|This extension is obsolete!
It has been replaced by core functionality in the MediaWiki software (which was added in version 1.22).
Release status: stable
|Description||Improves on the user interface elements of the Vector skin|
|Author(s)||Trevor Parscal, Roan Kattouw|
Translate the Vector extension if it is available at translatewiki.net
|Check usage and version matrix; code metrics|
|Open tasks · Report a bug|
The Vector extension adds a few enhancements to the Vector skin. Note that these features are only available in Vector, not in other skins.
|MediaWiki version:||≤ 1.21|
Installation[edit | edit source]
- Download and place the file(s) in a directory called Vector in your extensions/ folder.
- Add the following code at the bottom of your LocalSettings.php:
- Done! Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
Features[edit | edit source]
EditWarning[edit | edit source]
The EditWarning feature warns the editor when they leave the edit form without saving. This feature has been integrated in MediaWiki core as of MediaWiki 1.22.
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[edit | edit source]
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;
[edit | edit source]
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;
When this extension was merged into core in MediaWiki 1.22, it was enabled by default, but the configuration options to disable it, even from preferences, were removed, so all sections were collapsed by default. Since MediaWiki 1.24 this feature has been removed entirely.
[edit | edit source]
- Makes the "View templates on this page" and "View hidden categories on this page" lists collapsible and collapsed by default.
- Also, if WikiEditor is loaded, removes the .editHelp (link to MediaWiki:Edithelppage with label MediaWiki:Edithelp) element and the "|" from after the cancel link.
- Various additional CSS adjustments.
Disabled by default. Set true to enable FooterCleanup globally.
$wgVectorFeatures['footercleanup']['global'] = true;
Allow users to enable FooterCleanup in their preferences.
$wgVectorFeatures['footercleanup']['user'] = true;
ExpandableSearch[edit | edit source]
Expands the Search box when focused.
Disabled by default. Set true to enable ExpandableSearch globally.
$wgVectorFeatures['expandablesearch']['global'] = true;
Allow users to enable ExpandableSearch in their preferences.
$wgVectorFeatures['expandablesearch']['user'] = true;
SectionEditLinks[edit | edit source]
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.
Disabled by default. Set true to enable SectionEditLinks globally.
$wgVectorFeatures['sectioneditlinks']['global'] = true;
Allow users to enable SectionEditLinks in their preferences.
$wgVectorFeatures['sectioneditlinks']['user'] = true;
SimpleSearch[edit | edit source]
Improve the look and feel of the search box. The Vector skin has a basic version of simple search, which must be enabled to take advantage of the enhanced version, by adding the following to LocalSettings.php.
$wgVectorUseSimpleSearch = true;
|Language:||English • español • français • русский|