Jump to content

手册:$wgHandheldForIPhone

From mediawiki.org
This page is a translated version of the page Manual:$wgHandheldForIPhone and the translation is 50% complete.
前端: $wgHandheldForIPhone
Apply "screen" and "handheld" media also apply to the iPhone/iPod Touch Mobile Safari.
引进版本:1.14.0 (r38116)
移除版本:1.22.0 (Gerrit change 63343; git #I7c24128)
允许的值:(布尔值)
默认值:false

详情

Apply "screen" and "handheld" media specifiers for style sheets 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.