Manual:$wgHandheldForIPhone

From MediaWiki.org
Jump to: navigation, search
CSS/Js: $wgHandheldForIPhone
If set, 'screen' and 'handheld' media also apply to the iPhone/iPod Touch Mobile Safari.
Introduced in version: 1.14.0 (r38116)
Removed in version: still in use
Allowed values: (boolean)
Default value: false

Other settings: Alphabetical | By Function


[edit] Details

If set, 'screen' and 'handheld' media specifiers for stylesheets are transformed such that they apply to the iPhone/iPod Touch Mobile Safari, which doesn't recognize 'handheld' but does support media queries on its screen size.

Consider only using this if you have a *really good* handheld stylesheet, as iPhone users won't have any way to disable it and use the "grown-up" styles instead.

Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox