Jump to content

Skin:Femiwiki/es

From mediawiki.org
This page is a translated version of the page Skin:Femiwiki and the translation is 5% complete.
Manual de máscaras de MediaWiki - categoría
Femiwiki
Estado de lanzamiento: estable
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
Public wikis using 5 (Ranked 135th)
Public wikis using as default skin 1
Translate the Femiwiki skin if it is available at translatewiki.net

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 archivo 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 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.