Skin:摩納哥

From mediawiki.org
This page is a translated version of the page Skin:Monaco and the translation is 3% complete.
Outdated translations are marked like this.
MediaWiki皮肤手冊 - 分类
Monaco/zh
发行状态: 稳定版
描述 Port of the old Fandom skin.
最新版本 2.8.0 (2024-05-04)
MediaWiki 1.39+
许可协议 GNU通用公共协议2.0或更新版本
下载
参数
  • $wgMonacoAllowUseTheme
  • $wgMonacoTheme
  • $wgMonacoDynamicCreateOverride
  • $wgMonacoUseMoreButton
  • $wgMonacoUseSitenoticeIsland
  • $wgMonacoUseMasthead
  • $wgMonacoCompactSpecialPages
  • $wgMonacoBiggestCategoriesBlacklist
  • $wgMonacoEnablePaypal
  • $wgMonacoPaypalID
  • $wgMonacoEnablePatreon
  • $wgMonacoPatreonURL
正在使用的公开wiki数 1,499 (Ranked 15th)
作为默认皮肤使用的公开wiki数 216
翻译Monaco皮肤(如在translatewiki.net可用)

Monaco是一个最初由Fandom開發的外觀。 The skin is currently maintained and provided by Universal Omega, which is compatible with MediaWiki 1.35 until 1.39 .

A fork compatible with MediaWiki 1.41 is provided by jdlrobson.

== Installation == To install, install Monaco into a Monaco/ folder in your skins/ folder. From the command line you can do this by cd'ing to your skins/ folder inside your MediaWiki installation and running git clone git://github.com/Universal-Omega/Monaco.git Monaco.

Once you have done that, add wfLoadSkin( 'Monaco' ); to your LocalSettings.php.

Configuration

General

Deactivate selection of themes in the users preferences.

$wgMonacoAllowUseTheme = false;

Select the default theme for the wiki.

$wgMonacoTheme = "the_owners_prefered_theme";

Default value is "sapphire".

Paypal

Enable Paypal-Button:

$wgMonacoEnablePaypal = true;

Set Paypal ID:

$wgMonacoPaypalID = "owners personal Paypal ID code";

Patreon

Enable Patreon-Button:

$wgMonacoEnablePatreon = true;

Set Patreon-URL:

$wgMonacoPatreonURL = "https://www.patreon.com/owners_patreon_page";

Help

This is a ShoutWiki help page, hosted at the ShoutWiki Hub.

The themes currently only work with the forks for REL1_25, REL1_27, REL1_31, REL1_35, REL1_39 and REL1_41.

=== Layout ===

Monaco has a large area for the wiki's logo with the Sidebar with expanding lists under that. The sidebar can link to anywhere on the wiki or even off the wiki. In the sidebar is usually links to recent changes, special pages, upload file, random page and occasionally help pages.

Under the sidebar is a community box that has links to your user page and talk page as well as showing the latest edits on the wiki.

Links along the top right are to your user page, talk page and watchlist. The more dropdown box can lead to your contributions and preferences. The link to log out is also here.

On the top left is a link to the ShoutWiki Hub and wiki categories on the hub.

=== How to change the skin === There are numerous pages to edit different sections of the Monaco skin:

=== Themes === Monaco offers lots of complete themes that you can use:

  • SapphireThe “standard” white and blue Monaco.
  • BeachA theme using light blue and brown.
  • BrickA theme using brown and darkred.
  • CarbonThis theme uses dark grey and black.
  • ForestA theme inspired by nature using, among others, different colors of green.
  • GamingThis theme uses dark blue and yellow.
  • JadeUsing the normal white, but with green instead of blue.
  • MoonlightUsing light and darker colors of blue, together with a star and moonlight background.
  • ObsessionThis theme uses colors such as black and dark red, giving this theme a darker look and feel.
  • PinkA nice, bright and pink theme.
  • RubyUsing white the normal white, but red instead of blue.
  • SkyUsing the normal white for the content area, with light blue instead of blue and a light blue background.
  • SlateThis theme uses light grey and yellow.
  • SmokeUsing the normal white, with yellow instead of blue.
  • SpringA theme using light green and light pink.

Use the skin

=== See also ===

== Legacy ==

  1. The original skin by Dantman can be downloaded here.
  2. A variation of the Monaco skin with some compatibility fixes for the WikiEditor extension and Monobook/Vector styled buttons can be found here. Seems that support MediaWiki version until 1.24 .
  3. A fork supporting MediaWiki versions 1.24 to 1.29 officially, with verified support for 1.30+ in the works, is maintained by James Haley. Doom Wiki still running with MediaWiki version 1.27 uses this fork. It's new additions:
    • A new Widgets framework which cooperates with Gadgets to allow sidebar content to be defined through the MediaWiki frontend.
    • Special support for FlaggedRevs and MobileFrontend when they are installed.
    • Wiki copyright notice is displayed in the footer of every page as with WikiMedia-maintained skins.
    • Numerous bug fixes to stylesheets, JavaScript, and PHP HTML generation.
  4. Another fork supporting MediaWiki versions 1.31 to 1.32 is provided by Beleggrodion. Roger Meier says he has added these features:
    • First Version that support MediaWiki version 1.31 , but is not tested
    • Implementation of extending the Sidebar Menu with User and Group Sidebar Elements like Extension DynamicSidebar

外部链接