Тема оформления:MinervaNeue

This page is a translated version of the page Skin:Minerva Neue and the translation is 48% complete.
Other languages:
English • ‎Tiếng Việt • ‎español • ‎français • ‎polski • ‎português • ‎português do Brasil • ‎slovenčina • ‎русский • ‎中文 • ‎日本語 • ‎한국어
MediaWiki skins manual - category
Crystal Clear device blockdevice.png
Minerva Neue (Minerva)
Release status: stable
MediaWiki Minerva skin screenshot.png
MediaWiki 1.30+
License GNU General Public License 2.0 or later
Download
Translate the Minerva Neue skin if it is available at translatewiki.net
Check usage and version matrix;
Issues : Open tasks · Report a bug
Minerva является адаптивной мобильной темой оформления.

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 but at the time of writing this is a soft dependency and it will function without the extension installed.

Установка

  • Скачайте и распакуйте файл(ы) в папку с именем «MinervaNeue» в папке skins/ вашего сайта.
  • Добавьте следующий код в ваш LocalSettings.php (в конец):
wfLoadSkin( 'MinervaNeue' );
$wgDefaultSkin = 'minerva';
  •   Готово - Перейдите в Special:Version на вашей вики, чтобы убедиться, что тема оформления успешно установлена.

Для использующих MediaWiki 1.24 или более ранние:

The instructions above describe the new way of installing skins using wfLoadSkin(), since MediaWiki 1.25. If you need to install this skin in earlier versions, instead of wfLoadSkin( 'MinervaNeue' );, you need to use:

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

(To run a skin on an earlier release, you may need to download the version of it tagged for that release from Special:SkinDistributor.)

  • Примечание: настройка $wgDefaultSkin = 'minerva' сделает Minerva темой оформления по умолчанию даже в режиме просмотра с компьютера. Игнорируйте эту строку и вместо неё используйте $wgMFDefaultSkinClass = "SkinMinerva";, если вы хотите, чтобы MobileFrontend использовал только Minerva как тему оформления.

Убедитесь, что вызова wfLoadSkin после wfLoadExtension.

MobileFrontend integration

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

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

To benefit from these:

Настройка

Configuration of menus

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.

Вопросы и ответы

If you have a question not answered by the page - please feel free to use the talk page to raise them.

Почему зависит от MobileFrontend?

Мы работаем чтобы исправить это, и у нас есть целый проект, посвященный этому. Ваши патчи и помощь приветствуются.