Skin:Liberty

From mediawiki.org
This page is a translated version of the page Skin:Liberty and the translation is 36% complete.
MediaWiki-Skins-Handbuch - Kategorie
OOjs UI icon layout-ltr.svg
Liberty/de
Freigabestatus: stabil
Screenshot-skin-liberty.png
Beschreibung Responsiver Skin für LibreWiki.
Autor(en) Liberwiki Developement Team
Neuste Version 1.11.0
MediaWiki 1.37 (master branch)[1]

1.35 (REL1_35 branch)

1.33 (REL1_33 branch)

1.31 (REL1_31 branch)

1.27 (REL1_27 branch)
Lizenz GNU General Public License 3.0 oder neuer
Herunterladen
readme
changelog
Beispiel Librewiki
Parameter
  • $wgLibertyMainColor
  • $wgLibertySecondColor
  • $wgTwitterAccount
  • $wgLibertyOgLogo
  • $wgNaverVerification
  • $wgLibertyAdSetting
  • $wgLibertyAdGroup
  • $wgLibertyMobileReplaceAd
  • $wgLibertyEnableLiveRC
  • $wgLibertyMaxRecent
  • $wgLibertyLiveRCArticleNamespaces
  • $wgLibertyLiveRCTalkNamespaces
Übersetze den Liberty skin wenn es auf translatewiki.net verfügbar ist
Prüfe die Benutzungs- und Versionsmatrix.

The Liberty skin is based on Bootstrap. This skin is designed with a responsive design.

Funktionen

  • Liberty is a responsive skin based on Bootstrap and is designed to handle all three environments: desktop, tablet, and smartphone.
  • It has real-time recent updates and SNS sharing.
  • It supports various setting changes for wiki sites using common MediaWiki.
  • Support for Google Adsense and Twitter Cards.
  • Support for Gravatar allows you to display profile pictures based on the email address set on the wiki.
  • Support dark mode based on browser settings.
  • Supports skin environment adjustment. (On Preferences → Liberty skin tab)
    • Personal theme color settings are available.
    • Personal font settings are available.
    • You can set individual top bar.

Installation

For general documentation on the use of skins, see Hilfe:Skins .
  • Die Lade es herunter und die Datei(en) in ein Verzeichnis namens Liberty im Ordner skins/ ablegen.
  • Ergänze folgenden Code am Ende deiner LocalSettings.php:
wfLoadSkin( 'Liberty' );
$wgDefaultSkin = "Liberty";
  • Konfiguriere nach Bedarf.
  • Yes Erledigt - Navigiere zu Special:Version in deinem Wiki, um zu überprüfen, ob der Skin erfolgreich installiert ist.

Konfiguration

Setze diese Parameter in der "LocalSettings.php"-Datei.

Falls du weitere Informationen haben möchtest, siehe LibreWiki (Koreanisch)

Name Beschreibung Beispielvariable Standardvariable
$wgLibertyMainColor theme-color-Konfigurationen, Hauptfarbe der Seite #4188F1 #4188F1
$wgLibertySecondColor Konfiguration für die Sekundärfarbe der Seite #2774DC Der Wert von $wgLibertyMainColor subtrahiert mit 1A1415
$wgTwitterAccount Default Twitter account to send a mention with Twitter Cards librewiki (keine)
$wgLibertyOgLogo OpenGraph Image Logo https://librewiki.net/images/6/6a/Libre_favicon.png (Wert von $wgLogo)
$wgNaverVerification Naver Webmater Tool Verification Code (Value supplied by Naver.com) (none)
$wgLibertyAdSetting Google Adsense-Einstellungen array( 'client' => '(Value supplied by Google)', 'header' => '1234567890', 'right' => '0987654321' ) (none)
$wgLibertyEnableLiveRC Enables 'Recent Changes' on the right side true true
$wgLibertyMaxRecent Recent X edits appearing in 'Recent Changes' 10 10
$wgLibertyLiveRCArticleNamespaces Namespaces for the first tab in 'Recent Changes' [NS_MAIN, NS_PROJECT, NS_TEMPLATE, NS_HELP, NS_CATEGORY] [NS_MAIN, NS_PROJECT, NS_TEMPLATE, NS_HELP, NS_CATEGORY]
$wgLibertyLiveRCTalkNamespaces Namespaces for the second tab in 'Recent Changes' [NS_TALK, NS_USER_TALK, NS_PROJECT_TALK, NS_FILE_TALK, NS_MEDIAWIKI_TALK, NS_TEMPLATE_TALK, NS_HELP_TALK, NS_CATEGORY_TALK] [NS_TALK, NS_USER_TALK, NS_PROJECT_TALK, NS_FILE_TALK, NS_MEDIAWIKI_TALK, NS_TEMPLATE_TALK, NS_HELP_TALK, NS_CATEGORY_TALK]

Navbar

Fill out MediaWiki:Liberty-Navbar article in the following format.

  • First-Level menu:
    * icon=icon | display=display text | title=hover text | link=link | access=shortcut key | class=custom HTML classes | group=required user group | right=required user right
  • Second-Level menu:
    ** icon=icon | display=display text | title=hover text | link=link | access=shortcut key | class=custom HTML classes | group=required user group | right=required user right
  • Third-Level menu:
    *** icon=icon | display=display text | title=hover text | link=link | access=shortcut key | class=custom HTML classes | group=required user group | right=required user right

  • All values are optional, but at least one of icon or display must be set.
  • If title is not set, display is used instead.
  • If you don't want to set some parameters, you can skip them. As an example, if you don't want to set an icon, skip icon=....
  • You can use i18n message names of MediaWiki for the values of display and title to show the i18n messages (e.g., write recentchanges to show Recent changes).
  • Shortcut keys can be used as Alt-Shift-(Key).
  • When setting shortcuts, be careful not to overlap with the default shortcuts provided by MediaWiki.
  • Custom classes are separated by , (e.g., write classA, classB to add classA and classB class).
  • A list of possible Icons can you find here at fontawsome.com. All free icons are available to use.

Du kannst ein Beispiel auf LibreWiki sehen.

Other skins and extensions related to the Bootstrap framework:

  1. Maybe LTS Version will be supported