Skin:Femiwiki/es

From mediawiki.org
This page is a translated version of the page Skin:Femiwiki and the translation is 5% complete.
MediaWiki skins manual - categoría
OOjs UI icon layout-ltr.svg
Femiwiki
Estado de lanzamiento: estable
Skin-Femiwiki.png
Autor(es) Femiwiki Team
MediaWiki 1.34+
Licencia GNU Affero Licencia Pública general 3.0 o más tarde
Descarga
CHANGELOG
Ejemplo femiwiki.com

WIKIMEDIA SKINS LAB TestWiki (miraheze.org)

skins-demo.wmflabs.org
Parámetros
  • $wgFemiwikiFirebaseKey
  • $wgFemiwikiFacebookAppId
  • $wgFemiwikiHeadItems
Translate the Femiwiki skin if it is available at translatewiki.net
Check usage and version matrix;

Femiwiki Es un responsive piel para Femiwiki. The skin offers Firebase Dynamic Links (used as URL Shortener) and SNS sharing for Facebook and Twitter if configured.

Installation

  • Download y extrae los archivos en el directorio «Femiwiki» dentro del directorio skins/ existente.
  • Añade el siguiente código al final de tu 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.
  • Yes Hecho - Navega a Special:Version en tu wiki para verificar que la apariencia se ha instalado correctamente.

Configuration

Logos

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

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.