Manual:$wgHandheldStyle

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

Other languages:
English • ‎français • ‎magyar • ‎polski • ‎日本語
CSS/JS: $wgHandheldStyle
media="handheld" 向けのスタイル
導入されたバージョン:1.14.0 (r38116)
除去されたバージョン:1.22.0 (git #02919f75)
許容される値:(文字列) または false
既定値:false
その他の設定: アルファベット順 | 機能順

詳細

Optionally, we can specify a stylesheet to use for media="handheld". This is recognized by some, but not all, handheld/mobile/PDA browsers. If left empty, compliant handheld browsers won't pick up the skin stylesheet, which is specified for 'screen' media.

Can be a complete URL, base-relative path, or $wgStylePath-relative path. Will also be switched in when 'handheld=yes' is added to the URL, like the 'printable=yes' mode for print media.

MediaWiki バージョン: 1.21

For example, to apply the Chick styles to the MonoBook HTML, try $wgHandheldStyle = 'chick/main.css';. Please note that the Chick skin is being removed in MediaWiki 1.22 .