Manual:$wgFavicon

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgFavicon and the translation is 44% complete.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎中文
Paths: $wgFavicon
サイトのファビコンの URL。
導入されたバージョン: 1.6.0 (r12942)
除去されたバージョン: 使用中
可能な値: 相対パスまたは絶対 URL
既定値: "/favicon.ico"
他の設定: アルファベット順 | 機能順

詳細[edit]

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. ファイル名が小文字の「favicon.ico」であることを確認してください。

To use a favicon located other than in your site root, in LocalSettings.phpManual:LocalSettings.php add $wgFavicon = "$wgScriptPath/path/to/your/favicon.ico";

例:

$wgFavicon = "../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!

関連項目[edit]

外部リンク[edit]