Skin:Minerva Neue/zh

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

该皮肤经过优化，可与扩展一起使用（把 设置成“minerva”即可），但在MediaWiki 1.35之后，无需安装扩展也可使用Minerva Neue. For earlier MediaWiki versions, MobileFrontend is required.

安裝

 * 注意：设置 将使“Minerva”成为您的默认皮肤，即使是桌面版. 如果你只希望移动前端使用Minerva皮肤，则忽略这一行，使用.

确保在调用 之后才调用.



MobileFrontend整合
整合了MobileFrontend之后，使用Minerva的体验会提升，且会有各类其他功能：


 * 红链编辑确认
 * 参考资料弹窗
 * 增强版的搜索
 * 与更多热门的维基百科模板样式在移动设备上更好地整合

如要体验其好处：


 * 首先，下载并安装 扩展.

Make mobile Minerva behave like desktop Minerva
When MobileFrontend is installed, Minerva is modified to behave in a simplified mode. If you would like Minerva to behave more like the desktop version add the following code to :

-{zh-hans:配置; zh-hant:組態;}-
你的本地下载或在线中的Minerva readme列举了配置.



近期弃用的配置

 * - 曾用于通过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高级编辑模式)

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


 * 附近（由提供）.

Configuration of Donation link
Hint: Default value is in REL1.35  and in REL1.39.

When enabled a donate link will be added to the main menu. The donate link uses the  and   mediawiki messages.



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

当您正在移动版操作时，下面这些功能是可以使用的：


 * Core workflows such as editing and talk will trigger JavaScript based workflows. This is provided by . See more for details.
 * 章节可以折叠和展开. 展开的章节会记忆在浏览器的本地存储中.
 * 根据当前模式，菜单包含了不同的选项，比如Special:Preferences可以在桌面版上使用.
 * 网页加载MediaWiki:Mobile.css（对于移动版）或MediaWiki:Common.css（对于桌面版）.
 * 如果启用了移动前端，该皮肤会链接到对移动设备进行了优化的页面. 参见以获取更多信息.  比如，Special:Watchlist（对比[ 桌面]和[ 移动]）
 * 在移动版视图中，如文档中所说，导航栏和侧边栏是隐藏的.

移动版中的桌面版选项是实验性的. 如果您发现了缺陷（bug）或提供修复补丁（patches），我们将不胜感激.

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



问答
如果你有一个问题但本页没有解答——请放心使用讨论页面提出这些问题.



我安装移动前端时会得到什么？
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!

How should I target styles to Minerva?
If the extension includes any UI, when testing your extension with Minerva, it's important to check if your extension works or degrades acceptably on break points. For testing purposes, Minerva operates on several breakpoints: 320px (@width-breakpoint-mobile), 720px (@width-breakpoint-tablet) and 1000px (@width-breakpoint-desktop). Your extension is expected to adapt to these breakpoints using appropriate media queries. It is acceptable for a feature to disable altogether, provided it gives the user feedback where necessary e.g.

Normally it's acceptable to use media queries for your extension and this will benefit all skins, however in some cases you may need Minerva specific behaviour. If so you can use Manual:$wgResourceModuleSkinStyles to define styles.

How can I add items to Minerva menus ?
The Minerva menu system is currently bespoke and does not work like other skins. We plan to fix this eventually so that Minerva makes use of the standard hook for modifying menus - Manual:Hooks/SkinTemplateNavigation::Universal. The work here is tracked in T291568. If you would like to add menu items in the mean time, please use the MobileMenu hook.