Тема оформления::Femiwiki

This page is a translated version of the page Skin:Femiwiki and the translation is 21% complete.
Справка по темам оформления MediaWiki - категория
Femiwiki
Статус релиза: стабильный
Автор(ы) Femiwiki Team
MediaWiki 1.34+
Лицензия GNU Affero General Public License 3.0 or later
Download
CHANGELOG
Example femiwiki.com

Wikimedia Skins Lab TestWiki (miraheze.org)

skins-demo.wmflabs.org
Parameters
  • $wgFemiwikiFirebaseKey
  • $wgFemiwikiFacebookAppId
  • $wgFemiwikiHeadItems
Public wikis using 5 (Ranked 137th)
Public wikis using as default skin 1
Переведите тему оформления Femiwiki, если он доступен на translatewiki.net

Femiwiki is a responsive skin for Femiwiki. The skin offers Firebase Dynamic Links (used as URL Shortener) and SNS sharing for Facebook and Twitter if configured.

Установка

  • Скачайте и распакуйте файл(ы) в папку с именем «Femiwiki» в папке skins/ вашего сайта.
  • Добавьте следующий код в ваш файл 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.
  •   Готово - Перейдите на страницу Special:Version на своей вики, чтобы удостовериться в том, что тема оформления успешно установлена.

Configuration

Логотипы

FemiwikiSkin loads its logos from $wgLogos . You must define both $wgLogos['svg'] and $wgLogos['wordmark'].

$wgLogos = [
	'svg' => "path/to/svg_version.svg",
	'wordmark' => [
		'src' => "path/to/wordmark_version.svg",
		'width' => 135,
		'height' => 20,
	],
];

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

Others

$wgFemiwikiTwitterAccount
Account ID of Twitter to be added as metadata on all pages.
$wgFemiwikiFirebaseKey
See https://firebase.google.com/docs/dynamic-links/rest
wgFemiwikiFacebookAppId
See https://developers.facebook.com/docs/javascript/reference/FB.init
$wgFemiwikiHeadItems
Additional head items used as parameter for OutputPage::addHeadItems(). See the document.

This skin was originally made for Femiwiki.