Open main menu

Skin:Minerva Neue

This page is a translated version of the page Skin:Minerva Neue and the translation is 9% complete.

Other languages:
English • ‎Esperanto • ‎Tiếng Việt • ‎dansk • ‎español • ‎français • ‎polski • ‎português do Brasil • ‎slovenčina • ‎русский • ‎中文 • ‎日本語
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Minerva Neue (Minerva)
Release status: stable
Minerva Neue screenshot.png
MediaWiki 1.30+
License GPL-2.0+
Download
Depende de Extension:MobileFrontend
Translate the Minerva Neue skin if it is available at translatewiki.net
Check usage and version matrix;
Issues : Open tasks · Report a bug

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

It is optimised for use with MobileFrontend as the wgMFDefaultSkinClass and at the time of writing this is a hard dependency.

Contents

Installation

  • Baixe e coloque o(s) arquivo(s) em uma pasta chamada MinervaNeue dentro da sua pasta skins/.
  • Adicione o seguinte código no final do arquivo LocalSettings.php:
wfLoadSkin( 'MinervaNeue' );
$wgDefaultSkin = 'minerva';
  •   Pronto - Vá até Special:Version em sua wiki para se certificar que a instalação da skin foi bem-sucedida.

Para usuários utilizando MediaWiki 1.24 ou anteriores:

As instruções acima descrevem a nova forma de instalar skins utilizando wfLoadSkin(), a partir do MediaWiki 1.25. Para instalar esta skin em versões anteriores, em vez de wfLoadSkin( 'MinervaNeue' );, você precisa usar:

require_once "$IP/skins/MinervaNeue/MinervaNeue.php";

(Para utilizar uma skin em uma versão anterior, pode ser necessário baixar a versão marcada para a versão específica em Special:SkinDistributor.)

  • Note: Setting $wgDefaultSkin = 'minerva' will make Minerva your default skin even in Desktop view. Ignore this line and instead use $wgMFDefaultSkinClass = "SkinMinerva"; if you want only MobileFrontend to use the Minerva skin.

Make sure the call to wfLoadSkin is installed after the call to wfLoadExtension.

Configuration

Configuration of menu's

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

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

Desktop vs mobile modes

MobileFrontend provides additional capabilities that are not available in MediaWiki core. You can compare desktop vs mobile mode.

When operating in mobile mode the following features are available:

  • Sections can be collapsed and expanded
  • The menu contains different options 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 optimised for mobile e.g. Special:Watchlist (compare desktop vs mobile)

The desktop mode of the site is experimental. If you see a bug, patches are appreciated.

When operating in desktop mode there are various issues that we are working towards 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.

Why does it depend on MobileFrontend?

We're working to fix this and have a whole project dedicated to it. Your patches and help are welcomed.