Manual:$wgFavicon/ko
Appearance
Server URLs and file paths: $wgFavicon | |
---|---|
사이트 favicon 주소 |
|
이 변수가 소개된 버전: | 1.6.0 (r12942) |
이 변수가 사라진 버전: | 계속해서 쓰이고 있음 |
허용값: | (상대 경로 or 절대 URL) |
기본값: | '/favicon.ico' |
기타 설정: 알파벳 순 | 기능별 순 |
설명
The URL of the site favicon (the small icon displayed next to a URL in the address bar of a browser).
You do not need to set this if you upload your favicon.ico to the root of your site. That's where browsers look for it by default. Make sure file name is in lower case and its name is "favicon.ico".
To use a favicon located other than in your site root, in LocalSettings.php add $wgFavicon = "$wgScriptPath/path/to/your/favicon.ico";
Example:
$wgFavicon = "/images/6/64/Favicon.ico";
One icon file can contain multiple images with different resolutions each. This is also what is recommended for the favicon. An icon file with 16 x 16 pixels, 32 x 32 pixels, 48 x 48 pixels and 64 x 64 pixels will display well on most devices and so is a good choice. The single images can be compressed; should the resulting icon file become bigger than 50 kb anyway, the highest resolution can be left away!
See also
- $wgAppleTouchIcon
- $wgLogos (MediaWiki ≥ 1.35.0)
- $wgLogo (MediaWiki < 1.35.0)