Skin:DarkVector

From MediaWiki.org
Jump to: navigation, search

Other languages:
български • ‎English • ‎español • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎中文
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
DarkVector

Release status: stable

DarkVector.png
Description Based on standard Vector dark-colored skin
Author(s) Malvineous, Martynov Maxim
Latest version

0.1 (2016-05-08)

MediaWiki 1.26+
License GPLv3
Download
Example CrystalsGrowing Wiki
Parameters

$wgDarkVectorUseSimpleSearch, $wgDarkVectorUseIconWatch, $wgDarkVectorResponsive

Translate the DarkVector skin if it is available at translatewiki.net

Check usage and version matrix;

DarkVector is a skin for MediaWiki like default Vector skin, but dark-colored.

Installation[edit]

  • Download and place the file(s) in a directory called DarkVector in your skins/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
wfLoadSkin( 'DarkVector' );
$wgDarkVectorUseSimpleSearch = true;
$wgDarkVectorUseIconWatch = true;
  • YesY Done - Navigate to Special:Version on your wiki to verify that the skin is successfully installed.

To users running MediaWiki 1.24 or earlier:

The instructions above describe the new way of installing skins using wfLoadSkin(), since MediaWiki 1.25. If you need to install this skin in earlier versions, instead of wfLoadSkin( 'DarkVector' );, you need to use:

require_once "$IP/skins/DarkVector/DarkVector.php";

(To run an skin on an earlier release, you may need to download the version of it tagged for that release from Special:SkinDistributor.)

Configuration options[edit]

wgDarkVectorUseSimpleSearch[edit]

  • Search form look.
    • true = use an icon search button
    • false = use Go & Search buttons
$wgDarkVectorUseSimpleSearch = true;

wgDarkVectorUseIconWatch[edit]

  • Watch and unwatch as an icon rather than a link.
    • true = use an icon watch/unwatch button
    • false = use watch/unwatch text link
$wgDarkVectorUseIconWatch = true;

wgDarkVectorResponsive[edit]

  • Experimental setting to make Vector slightly more responsive. Not ready for production purposes and false by default.
    • true = Use responsiveness to improve usability in narrow viewports
    • false = No responsiveness
$wgDarkVectorResponsive = false;

See also[edit]