Extension:Vector
Vector Release status: stable |
|||
---|---|---|---|
Description | Improves on the user interface elements of the Vector skin | ||
Author(s) | Trevor Parscal, Roan Kattouw | ||
MediaWiki | 1.17+ | ||
License | GPL v2 | ||
Download |
Download snapshot
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes README |
||
Example | Test Wikipedia | ||
|
|||
|
|||
Check usage (experimental) |
The Vector extension adds a few enhancements to the Vector skin. Note that these features are only available in Vector, not in other skins.
Contents |
[edit] Installation
- Get the extension with distributor or svn and drop it into MediaWiki directory /extensions
- Setup your LocalSettings.php as explained in README file.
[edit] Features
[edit] 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;
[edit] 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;
[edit]
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;
[edit]
FIXME
Disabled by default.
$wgVectorFeatures['footercleanup']['global'] = false; $wgVectorFeatures['footercleanup']['user'] = false;
[edit] ExpandableSearch
Expands the Search box when focused.
Disabled by default.
$wgVectorFeatures['expandablesearch']['global'] = false; $wgVectorFeatures['expandablesearch']['user'] = false;
[edit] 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.
[edit] 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.
![]() |
This extension is being used on one or more of Wikimedia's wikis. This means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
Language: | English • Español • Русский |
---|
- Stable extensions
- Extensions with invalid or missing type
- Extensions in Wikimedia version control
- BeforePageDisplay extensions
- GetPreferences extensions
- MakeGlobalVariablesScript extensions
- ResourceLoaderRegisterModules extensions
- All extensions
- 2012 Q1 Extension Page Review Drive - completed
- Extensions used on Wikimedia
- Usability initiative extensions
- Skin extensions