Skin:Mirage/ru
Статус релиза: стабильный |
|
|---|---|
| Автор(ы) | Mainframe98 |
| Политика совместимости | Снапшоты выпускаются вместе с MediaWiki. Главная ветка не обладает обратной совместимостью. |
| MediaWiki | 1.41+ |
| Лицензия | MIT License |
| Скачать | Readme.md |
| Пример | Example on MediaWiki Skins Wiki, Wikimedia Skins Lab |
| Ежеквартальные загрузки | 0 |
| Использование общедоступными вики | 9 (Ranked 110th) |
| Публичные вики, использующие в качестве темы оформления по умолчанию | 0 |
| Переведите тему оформления Mirage, если он доступен на translatewiki.net | |
| Роль Vagrant | mirage |
| Проблемы | Открытые задачи · Сообщить об ошибке |
Mirage is a responsive skin that focuses on displaying content with a rail on the right.
О названии
Mirage is based on Oasis, the skin previously used by Fandom. Rather than be an exact copy of the Oasis skin, Mirage is a reflection of Oasis' appearance; a mirage of an oasis.
Features
Mirage supports on-wiki configuration for several of its features.
Wordmark
Mirage will use the wordmark from mirage-wordmark.png when that file exists and $wgMirageEnableImageWordmark is enabled.
The file should be 250 pixels wide and 65 pixels high.
Навигация
Mirage can use navigation defined in MediaWiki:sidebar, but also supports enhanced navigation through the MediaWiki:mirage-navigation message.
It uses the same syntax as MediaWiki:sidebar does, but with support for nesting, allowing each navigation dropdown to have a submenu.
Community messages
Community messages is a right rail module that displays the content of MediaWiki:mirage-community-messages. It only shows if that message is not disabled.
Аватары
Mirage supports avatars through three extensions:
Установка
- Если используется Vagrant, установите с помощью
vagrant roles enable mirage -p
Ручная установка
- Скачайте и распакуйте файл(ы) в папку с именем «
Mirage» в папкеskins/вашего сайта. - Добавьте следующий код в ваш файл LocalSettings.php:
wfLoadSkin( 'Mirage' );
Готово - Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что тема оформления успешно установлена.
Themes
Mirage supports the Theme extension out of the box. Additionally, if the Theme extension isn't installed, setting$wgMirageTheme to any of the supported themes listed below, allows enabling the theme manually. This is currently the only way Mirage can provide a dark mode.
Настройка
- $wgMirageEnableImageWordmark
- This setting controls if the file
mirage-wordmark.pngshould be used as the wordmark. When enabled, users can change the wordmark by uploading a new version of that file. The file should be 250 pixels wide and 65 pixels high. - This file should be protected against re-uploads to prevent changes to the wordmark without the proper permissions.
- If the file does not exist, or if this setting is disabled, a wordmark will be created from the value of
$wgLogos. - $wgMirageTheme
- This setting controls the default theme of Mirage, when the Theme extension isn't installed. Currently, Mirage supports the Neutral and DarkMirage themes.
- $wgMirageForceTemplateRecompilation
- This setting is for development use and disables the caching of the Mustache templates that make up Mirage.
- $wgMirageHiddenRightRailModules
- This setting contains a list of right rail modules that should not be shown. The list consists of module names.
- $wgMirageRightRailVisibleToAnonByDefault
- This setting affects the initial visibility of the right rail for anonymous users. By default, the right rail is not visible.
См. также
| Этот скин включен в следующие вики-фермы/хостинги и/или пакеты: |
