Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Paths: $wgLogo
The URL of the site logo.
Introduced in version: pre 1.1.0
Removed in version: still in use
Allowed values: relative path or absolute URL
Default value: "{$wgScriptPath}/resources/assets/wiki.png" (MW 1.24 and newer)
"{$wgStylePath}/common/images/wiki.png" (MW 1.23 and older)
(Note: The default value of this variable depends on other variables, such as the values set in Setup.php, after LocalSettings.php is executed)

Other settings: Alphabetical | By Function


The site logo. Your logo should be the same size, i.e. 135 pixels.

The URL of the site logo (i.e. the image displayed in the upper-left corner of the page in most MediaWiki installations). Either a fully-qualified URL or a relative path from DOCUMENT_ROOT. The logo is expected to be 135 x 135 pixels, but this can be increased by modifying the site CSS (and smaller sizes are possible with no changes).

If it's a relative path, it has to start with a slash (a file in DOCUMENT_ROOT is /file.png, not file.png).

Caution! Caution: Do not simply overwrite the default logo installed with MediaWiki (/resources/assets/wiki.png); this file will automatically be overwritten when you upgrade and your changes will be lost.

See also