Skin:Minerva Neue/zh

“Minerva”是世界各地维基媒体项目用于移动版的的皮肤. 与其他皮肤(如Vector)相比，它提供了一个更加简单的用户界面，并且在性能优化方面更优于其他皮肤，从而能够满足移动版用户的需求.

它经过优化，可与wgMFDefaultSkinClass一起在MobileFrontend使用. 在撰写本文时，这是一个重要的依赖. If using the 1.34 release or earlier it is a hard dependency.

安装

 * “注意”:设置 将使“Minerva”成为您的默认皮肤，即使在桌面版中也是如此. Ignore this line and instead use   if you want only MobileFrontend to use the Minerva skin.

确保在调用wfLoadExtension之后才调用wfLoadSkin.

MobileFrontend integration
With MobileFrontend integrated the Minerva experience will be enhanced to include various other features including:


 * Red link edit confirmation
 * Reference pop-up drawer
 * An enhanced search
 * Better integration on mobile with many popular Wikipedia-style templates.

To benefit from these:


 * 首先，下载并安装 MobileFrontend 擴充套件.

組態
Configuration is listed in the Minerva readme in your local download or online.

Recently deprecated configuration

 * $wgMinervaCountErrors - previously used to count errors via statsd. In the unlikely event you were using it as a 3rd party please refer to for client side error logging.

配置菜单
主菜单中的某些URL可以调整. 包括:


 * Random(通过编辑MediaWiki:Randompage-url)
 * 门户URL(通过MediaWiki:Portal-url高级编辑模式)

当添加相关扩展时，某些菜单项将自动启用.


 * Nearby (provided by ).

桌面版和移动版的对比
MobileFrontend提供了MediaWiki Core中没有的附加功能. 您可以比较desktop和mobile mode.

当您正在移动版操作时，下面这些功能是可以使用的： 移动版中的桌面版选项是实验性的. 如果您发现了缺陷(bug)，并提供修复补丁(patches)，我们将不胜感激.
 * 选区(sections)可以被折叠或展开
 * 存在不同选项的菜单，比如 Special:Preferences(简体中文版 MediaWiki 为 特殊:参数设置)，可以在桌面版上使用
 * MediaWiki:Mobile.css (对于移动版) 或 MediaWiki:Common.css (对于桌面版)将会被加载.
 * 很多页面已经对移动版进行了优化，例如 Special:Watchlist(简体中文版 MediaWiki 为 特殊:监视列表). 你可以对比下 MediaWiki 官网上的这个页面：监视列表(桌面版)，监视列表(移动版).

Expanded sections are memorized in the browser's local storage.
 * Sections can be collapsed and expanded.
 * The menu contains different options depending on the current mode, e.g. Special:Preferences is available on desktop
 * MediaWiki:Mobile.css (for mobile mode) or MediaWiki:Common.css (for desktop mode) will be loaded
 * Various pages are optimized for mobile e.g. Special:Watchlist (compare desktop vs mobile)
 * In mobile view, navigation bars and side bars are hidden by default, as described in their documentation.

The desktop mode of the site is experimental. Bug reports and patches are appreciated.

在桌面版上操作有很多问题，我们正在努力解决. 欢迎您提供补丁和帮助.

Overlays
This skin is equipped with several custom JavaScript-enabled overlay interfaces for editing, browsing legacy (non-flow) discussion boards and viewing page notice boxes, including multiple ones inside w:template:multiple issues.

If JavaScript is activated in the user's browser, the custom mobile-optimized editing interface overlay (URL fragment:, where   may be replaced with a section number starting at 0) will be shown. The edit summary is entered on a separate page within it. Non-flow discussion page sections can be appended using, with the input fields for Subject (section tite) and content known from.

If JavaScript is deactivated or unsupported, the normal  URL will be opened as fallback.

Page notice boxes are opened in the URL fragment:, and notice boxes for individual sections starting at.

The overlay interface for discussion pages shows a list of sections and has a “Read as wiki page” button at the bottom.

The sidebar menu works with or without JavaScript. For those interested a non-JavaScript fallback page for the side bar menu (Special:MobileMenu) has been removed in 2020.

The language selector overlay is in, with Special:MobileLanguages as fallback page.

Dedicated pages
Instead of MediaWiki's native history and difference viewers, this skin uses its dedicated special pages: Special:History and Special:MobileDiff respectively.

Special:History shows a minimalistic and coarse view of the page history, excluding some features such as the ability to select two non-consecutive revisions for comparison.

Special:MobileDiff shows page differences in a unified, rather than a split view, and does not include the page title in the URL.

While this skin also uses Special:Contributions to list iser contributions, its layout in this skin resembles the mobile Special:History by default.

Further distinctions

 * Search suggestions:In addition to page titles, the search suggestions include preview pictures and short descriptions of the results where available.
 * Tag lines:On WikiQuote and the German Wikipedia, an article's description from WikiData is adopted as tag line below the page title.
 * Time of last change:At the bottom of a page, the absolute date and time of the last edit (example: Last edited on 24 October 2020, at 00:46) get substituted by JavaScript with the relative time and last edited user name (example: Last edited 2 days ago by UserName).
 * Registration date:Unlike other known skins, Minerva Neue displays the join date under the user name on user pages. JavaScript, if enabled, substitutes the absolute time (e.g. Joined 12 June 2015) with a relative time (e.g. Joined 5 years ago).

Q&A
如果你有一个问题没有得到页面的回答-请放心使用谈话页面提出这些问题.

What do I get when I install MobileFrontend?
Minerva works without MobileFrontend but installing MobileFrontend will provide several enhancements – notably reference and red link pop-up drawers, and a mobile optimized search and custom editor. These optimizations will apply to the desktop and mobile version. Currently it is not possible to disable the mobile view link but patches to that effect will gladly be accepted!