Extension:LogoFunctions

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎中文 • ‎日本語
MediaWiki extensions manual
Crystal Clear action run.svg
LogoFunctions
Release status: stable
Implementation Parser function
Description Adds a parser function about the wiki's logo
Author(s) JuneHyeon Bae (devunttalk)
Latest version 1.0.0 (2017-07-19)
MediaWiki 1.23+
PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download
Hooks used
ParserFirstCallInit
Translate the LogoFunctions extension if it is available at translatewiki.net
Check usage and version matrix.

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

Installation[edit]

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

Usage[edit]

{{#setlogo:ExampleLogo.png}}

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

{{#getlogo:[NS]}}

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