Skin:Vector/zh

Vector 在 2010-05-13 (MediaWiki 1.17，git#2833b07a)，繼MonoBook之後成為MediaWiki的預設皮膚. 維基媒體基金會於2009年創建了它，並於2010年將其布署到所有wiki上，成為維基百科可用性計劃的一部分.

Vector相較於前一版的預設皮膚，在可用性方面有了許多改進. 它是第一個將 flat level content_actions 推進到 categorized content_navigation 的皮膚.

一開始，基本功能包含在核心皮膚中，而Vector的一些特殊功能則由一個單獨的擴展（Extension:Vector）處理. 此後，擴展已合併到皮膚本身.

wgVectorUseSimpleSearch

 * Search form look.
 * true = use an icon search button
 * false = use Go & Search buttons

wgVectorUseIconWatch

 * Watch and unwatch as an icon rather than a link.
 * true = use an icon watch/unwatch button
 * false = use watch/unwatch text link

wgVectorResponsive

 * Experimental setting to make Vector slightly more responsive. Not actively being tested or used in production (yet) but relatively stable and false by default.
 * true = Use responsiveness to improve usability in narrow viewports
 * false = No responsiveness

功能

 * Basic features of the Vector skin
 * Reduced clutter, primarily by reducing the number of lines on screen
 * More prominent placement of the search portal
 * Visual separation of the content-action and namespace links, the former of which being divided into view tabs and action menu items
 * Automatic increase/decrease of margins throughout the user interface based on browser size
 * Use of a star icon for watch and unwatch actions


 * Added features of the Vector extension (some of these features have later been merged into the Vector skin or into the MediaWiki Core or have been removed)
 * Simplified search portal, including suggestions
 * Collapsible navigation portals
 * Alert when leaving an edit page without saving
 * Automatic hiding of tabs that do not fit on screen


 * Experimental Vector extension features
 * Simplified footer content
 * Search box expands on focus
 * Section edit links are moved to be directly next to heading instead of on the right, and use an icon


 * CollapsibleNav support via CollapsibleVector extension

注释
The collapsible navigation portals are now provided by the extension which will have to be installed additionally.

Another skin that follows vector is a more modern version of vector please visit Apex.

参见

 * 皮肤:MonoBook - MediaWiki之前的默认皮肤
 * 皮肤:现代 - 既往通过现代化改进，替换MonoBook的尝试（已失败）