Skin:Femiwiki
![]() Freigabestatus: stabil |
|||
---|---|---|---|
![]() |
|||
Autor(en) | Femiwiki Team | ||
MediaWiki | 1.34+ | ||
Lizenz | GNU Affero General Public License 3.0 oder neuer | ||
Herunterladen | GitHub: Hinweis: CHANGELOG |
||
Beispiel | femiwiki.com
Wikimedia Skins Lab TestWiki (miraheze.org) skins-demo.wmflabs.org |
||
|
|||
Public wikis using | 5 (Ranked 138th) | ||
Public wikis using as default skin | 1 | ||
Übersetze den Femiwiki skin wenn es auf translatewiki.net verfügbar ist |
Femiwiki ist ein responsiver Skin für Femiwiki. The skin offers Firebase Dynamic Links (used as URL Shortener) and SNS sharing for Facebook and Twitter if configured.
Installation
- Die Oberfläche herunterladen und die Datei(en) in ein Verzeichnis namens
Femiwiki
im Ordnerskins/
ablegen. - Ergänze folgenden Code am Ende deiner
LocalSettings.php
:
wfLoadSkin( 'Femiwiki' );
$wgDefaultSkin = 'femiwiki';
- Only when installing from git run npm to install Node dependencies, by issuing
npm install
in the skin directory. - Erledigt - Navigiere zu Special:Version in deinem Wiki, um zu überprüfen, ob der Skin erfolgreich installiert ist.
Konfiguration
Logos
FemiwikiSkin lädt seine Logos von $wgLogos .
Du musst sowohl $wgLogos['svg']
als auch $wgLogos['wordmark']
definieren.
$wgLogos = [
'svg' => "path/to/svg_version.svg",
'wordmark' => [
'src' => "path/to/wordmark_version.svg",
'width' => 135,
'height' => 20,
],
];
Seitenleiste
Sidebar items have its own icons, defined in Mediawiki:Skin-femiwiki-xeicon-map.json
your wiki.
{
"pt-createaccount": "user-plus",
"pt-login": "log-in",
"pt-userpage": "profile",
"pt-notifications-all": "bell",
"pt-mytalk": "forum",
"pt-preferences": "cog",
"pt-watchlist": "star",
"pt-mycontris": "list",
"pt-logout": "log-out",
"t-contributions": "list",
"t-log": "document"
}
The keys are the ID of the items and the values are XEIcon names, you see the whole supported icons in: https://xpressengine.github.io/XEIcon/library-2.3.3.html
Sonstiges
$wgFemiwikiTwitterAccount
- Account ID of Twitter to be added as metadata on all pages.
$wgFemiwikiFirebaseKey
- Siehe https://firebase.google.com/docs/dynamic-links/rest
wgFemiwikiFacebookAppId
- Siehe https://developers.facebook.com/docs/javascript/reference/FB.init
$wgFemiwikiHeadItems
- Additional head items used as parameter for
OutputPage::addHeadItems()
. Siehe das Dokument.
Diese Oberfläche ist in den folgenden Paketen und/oder WikiFarmen beinhalten: This is not an authoritative list. Some wiki farms/hosts may contain this skin even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
This skin was originally made for Femiwiki.