Manual:$wgLogo/pl

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


[edit] 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, especially if you are using a variable such as $wgStylePath or $wgUploadPath.

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 (/skins/common/images/wiki.png); this file will be overwritten when you upgrade.

[edit] See also