Manual:$wgLogo

From MediaWiki.org

Jump to: navigation, search
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: "{$wgStylePath}/common/images/wiki.png"
"{$wgUploadPath}/wiki.png" in early versions

Other settings: Alphabetical | By Function


Details

The URL of the site logo. 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). It is generally a good idea to place this at the end of LocalSettings.php (before the ?> however), especially if you are using a variable such as $wgStylePath or $wgUploadPath.

Caution! Caution: It is possible to simply overwrite the default logo installed with MediaWiki (/skins/common/images/wiki.png), but this is strongly advised against, as an upgrade may end up overwriting it or change the default location of this file.

See also

Personal tools