Estensione:LogoFunctions

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:LogoFunctions and the translation is 43% complete.

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎中文 • ‎日本語
Manuale sulle Estensioni MediaWiki
Crystal Clear action run.svg
LogoFunctions
Stato della release: stabile
Implementazione Parser function
Descrizione Adds a parser function about the wiki's logo
Autore(i) JuneHyeon Bae (devunttalk)
Versione 1.0.0 (2017-07-19)
MediaWiki 1.23+
PHP 5.3+
Cambi della base di dati No
Licenza GNU General Public License 2.0 or later
Scaricare
Hook usati
ParserFirstCallInit
Traducete l'estensione LogoFunctions se è disponibile su translatewiki.net
Verificare uso e versione della matrice.

The LogoFunctions extension adds a parser function about the wiki's logo.

Installazione

  • Download and place the file(s) in a directory called LogoFunctions in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/LogoFunctions/LogoFunctions.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Uso

{{#setlogo:ExampleLogo.png}}

Set logo to [[File:ExampleLogo.png]]

{{#getlogo:[NS]}}

Output logo file name. if NS is exist, than output NS:File.name