Extension:LogoFunctions

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎中文
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png
LogoFunctions

Release status:Extension status stable

ImplementationTemplate:Extension#type Parser function
DescriptionTemplate:Extension#description Adds a parser function about the wiki's logo
Author(s)Template:Extension#username JuneHyeon Bae (devunttalk)
Latest versionTemplate:Extension#version 1.0.0 (2017-07-19)
MediaWikiTemplate:Extension#mediawiki 1.23+
PHPTemplate:Extension#php 5.3+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
Download
Hooks usedTemplate:Extension#hook
ParserFirstCallInitManual:Hooks/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";
    
  • YesY 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