Skin:Mirage/id

From mediawiki.org
This page is a translated version of the page Skin:Mirage and the translation is 10% complete.
Manual kulit MediaWiki - kategori
Mirage
Status rilis: stabil
Pencipta Mainframe98
Compatibility policy Snapshots releases along with MediaWiki. Master is not backwards compatible.
MediaWiki 1.41+
Lisensi Lisensi MIT
Unduh
Readme.md
Contoh Example on MediaWiki Skins Wiki, Wikimedia Skins Lab
Quarterly downloads 9 (Ranked 32nd)
Public wikis using 9 (Ranked 107th)
Public wikis using as default skin 0
Terjemahkan kulit Mirage jika tersedia di translatewiki.net
Vagrant role mirage
Masalah : Tugas terbuka · Laporkan kekutu

Mirage is a responsive skin that focuses on displaying content with a rail on the right.

About the name

Mirage is based on Oasis, the skin 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 $wgMirageEnableWordmark is enabled. The file should be 250 pixels wide and 65 pixels high.

Navigation

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.

Avatar

Mirage supports avatars through three extensions:

Pemasangan

  • Jika menggunakan Vagrant , pasanglah dengan vagrant roles enable mirage -p

Instalasi manual

  • Unduh dan letakkan berkas-berkasnya di dalam sebuah direktori yang bernama Mirage di folder skins/ Anda.
  • Tambahkan baris berikut di bawah LocalSettings.php Anda:
    wfLoadSkin( 'Mirage' );
    
  • Yes Selesai - Telusuri ke Special:Version di wiki Anda untuk memastikan kulitnya berhasil dipasang.

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.

Configuration

$wgMirageEnableWordmark
This setting controls if the file mirage-wordmark.png should 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.

Lihat juga

  • Cosmos - A more true-to-the-original skin of Oasis.
  • Onyx - Another Oasis inspired skin.
  • Westeros - An Oasis/FandomDesktop inspired skin.