Skin:Vector/zh

Vector在2010年（，），繼MonoBook之後成為MediaWiki的預設佈景主題. 它于2009年创建，是所做工作的一部分.

向量相較於前一版的預設佈景主題，在可用性方面有了許多改進. 它是第一個將 flat level  推進到 categorized   的佈景主題.

一開始，基本功能包含在核心佈景主題中，而向量的一些特殊功能則由一個單獨的擴充套件（）處理. 此后，此扩展被合并至皮肤中.

In recent years the skin underwent a number of changes, e.g. the switch to and the addition of new features. The latter are controlable by feature switches so that users can still be served to legacy layout.

將Vector設定為預設皮膚
應為新的wiki使用者設定預設皮膚. 方法是將皮膚檔案 中的變數設定為指定的皮膚名稱（小寫）：

wgVectorUseIconWatch

 * Watch and unwatch as an icon rather than a link.
 * — 使用图标搜索按钮
 * — 使用监视/取消监视文本链接

wgVectorResponsive

 * 实验设置：使向量皮肤响应稍微快一些. 还没有在生产环境中进行测试或使用，但默认情况下相对稳定并且默认为false.
 * — Use responsiveness to improve usability in narrow viewports
 * — No responsiveness

wgVectorPrintLogo
Logo used in print styles. Keys are,  ,   (in pixels). Note that this solution only works correctly if the image pointed to by  is an SVG that does not specify width and height attributes, or its width and height match the corresponding variables below. Alternatively, a PNG or other type of image can be used, but its dimensions also need to match the corresponding variable below. That in turn may result in blurry images, though.

功能

 * 向量皮肤的基本特征


 * 减少混乱（主要是通过减少屏幕上的行数）
 * 搜索框的位置更加突出
 * Visual separation of the content-action and namespace links, the former of which being divided into view tabs and action menu items
 * 根据浏览器大小自动增加/减少整个用户界面的页边距
 * 使用星型图标查看和取消查看操作


 * 添加了扩展的特性（其中一些特性后来被合并到Vector皮肤或MediaWiki内核中，或已被删除）


 * 简化搜索框，包括建议
 * 可折叠的导航门户
 * 在不保存编辑页面时发出警告
 * 自动隐藏屏幕上不适合的选项卡


 * 实验性向量皮肤扩展功能


 * 简化页脚内容
 * Search box expands on focus
 * 部分编辑链接被移动到标题旁边而不是右侧，并使用图标


 * 通过 扩展支持CollapsibleNav

Collapsible navigation
可折叠导航门户现在由扩展提供，该扩展必须另外安装.

Poor smartphone and tablet web design
Vector will work on many mobile devices (i.e. smartphones and tablets), but it is not optimized for mobile devices. The skin is already bundled with MediaWiki 1.31 and is considered a good alternative according to

Vector currently has a poor implementation of responsive web design, in which the  buttons might overlap the   buttons due to width shortage, with no fallback icons like on,  and  viewed on narrow displays.

In addition, the left side bar navigation links inside, as well as the top links inside  , move to the bottom of the page on narrow displays, beneath the content area, requiring the user to scroll to the bottom before being able to access it.

參見

 * – MediaWiki之前的默认皮肤
 * – 深色版本
 * – CSS code to get the book background image from in this skin.