Manual:$wgLogo
From MediaWiki.org
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" (Note: Since the default value of this variable depends on other variables, such default value is set in Setup.php, after LocalSettings.php is executed) |
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).
If it's a relative path, it has to start with a slash (a file in DOCUMENT_ROOT is /file.png, not file.png).
This variable is not present in LocalSettings.php by default, you need to add in manually to the bottom. |
Caution: Do not simply overwrite the default logo installed with MediaWiki (/skins/common/images/wiki.png
); this file will be overwritten when you upgrade.
See also
Language: | English • 日本語 • Polski • Русский |
---|