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

Other languages:
English • ‎français • ‎日本語 • ‎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.22MediaWiki 1.22.