Manual:$wgFavicon
From MediaWiki.org
Paths: $wgFavicon | |
---|---|
The URL of the site favicon. |
|
Introduced in version: | 1.6.0 (r12942) |
Removed in version: | still in use |
Allowed values: | relative path or absolute URL |
Default value: | "/favicon.ico" |
Other settings: Alphabetical | By Function
[edit] Details
The URL of the site favicon (The small icon displayed next to a URL in the address bar of a browser).
Simply upload your favicon.ico to the root of your domain/subdomain, make sure file name is in lower case and its name is favicon.ico
Alternatively edit the $wgFavicon setting in LocalSettings.php and add $wgFavicon = "$wgScriptPath/path/to/your/favicon.ico"
Example:
$wgFavicon = "$wgScriptPath/favicon.ico";
Tip: The favicon image should be either 16 x 16 pixels or 32 x 32 pixels.
[edit] See also
- $wgAppleTouchIcon
- $wgLogo
- Manual:FAQ#How do I change the icon in the browser's address line (favicon)?