Jump to content

Handbuch:$wgHandheldStyle

From mediawiki.org
This page is a translated version of the page Manual:$wgHandheldStyle and the translation is 27% complete.
Frontend: $wgHandheldStyle
Style for media="handheld".
Eingeführt in Version:1.14.0 (r38116)
Entfernt in Version:1.22.0 (Gerrit change 60259; git #02919f75)
Erlaubte Werte:(Zeichenkette) oder false
Standardwert:false

Details

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 Version:
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 .