Skin:Minerva Neue

Minerva is the skin that serves mobile traffic for Wikimedia projects across the world. Compared to other skins such as , it provides a much more simplistic user interface and is much more aggressive about optimizing for performance so that it can cater for mobile users.

It is optimized for use with  as the   but at the time of writing (current master and 1.35 release) this is a soft dependency and it will function without the extension installed. If using the 1.34 release or earlier it is a hard dependency.

Installation

 * Note: Setting   will make Minerva your default skin even in desktop view. Ignore this line and instead use   if you want only MobileFrontend to use the Minerva skin.

Make sure to call   after  .

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:


 * Download and install the <tvar|1></> extension.

Configuration
Configuration is listed in the Minerva readme in your local download or [<tvar|url>https://github.com/wikimedia/mediawiki-skins-MinervaNeue#config</> online].

Recently deprecated configuration

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

Configuration of menus
Certain URLs in the main menu can be tweaked. These include:


 * Random (via editing <tvar|1>MediaWiki:Randompage-url</>)
 * Portal URL (of Advanced editing mode via <tvar|1>MediaWiki:Portal-url</>)

Certain menu items will be enabled automatically when the relevant extension is added.


 * Nearby (provided by <tvar|1></>).

Desktop vs mobile modes
MobileFrontend provides additional capabilities that are not available in MediaWiki core. You can compare [<tvar|url>https://www.mediawiki.org/wiki/Special:MyLanguage/Skin:Minerva?useformat=desktop&useskin=minerva</> desktop] vs [<tvar|url2>https://www.mediawiki.org/wiki/Special:MyLanguage/Skin:Minerva?useformat=mobile&useskin=minerva</> mobile mode].

When operating in mobile mode the following features are available:


 * Core workflows such as editing and talk will trigger JavaScript based workflows. This is provided by <tvar|1></>.  See more for details.


 * Sections can be collapsed and expanded. Expanded sections are memorized in the browser's local storage.


 * The menu contains different options depending on the current mode, e.g. <tvar|1>Special:Preferences</> is available on desktop


 * <tvar|1>MediaWiki:Mobile.css</> (for mobile mode) or <tvar|2>MediaWiki:Common.css</> (for desktop mode) will be loaded
 * The skin will link to pages optimized for mobile provided by MobileFrontend if enabled. See <tvar|1></> for more information.  e.g. <tvar|1>Special:Watchlist</> (compare [<tvar|url>https://www.mediawiki.org/wiki/Special:Watchlist?useformat=desktop&useskin=minerva&hidebots=1&hidecategorization=1&hideWikibase=1</> desktop] vs [<tvar|url2>https://www.mediawiki.org/wiki/Special:Watchlist?useformat=mobile&useskin=minerva&hidebots=1&hidecategorization=1&hideWikibase=1</> 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.

When operating in desktop mode there are various issues that we are working towards phab>phab:project/view/2859</>|fixing. Your patches and help are welcomed.

Questions and answers
If you have a question not answered by the page – please feel free to use the talk page to raise them.

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!