Last modified: 2013-06-20 01:22:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 18208 - Enabling $wgHandheldForIPhone breaks Monobook in IE
Enabling $wgHandheldForIPhone breaks Monobook in IE
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
PC All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: testme
Depends on:
Blocks: 640
  Show dependency treegraph
Reported: 2009-03-27 20:14 UTC by Chad H.
Modified: 2013-06-20 01:22 UTC (History)
3 users (show)

See Also:
Web browser: Internet Explorer
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Chad H. 2009-03-27 20:14:58 UTC
As reported on IRC:

Enabling $wgHandheldForIPhone seems to break Monobook-based skins and cause them to not load their CSS. Non MB-skins seem to be unaffected, and non-IE browsers seem unaffected.

Adding Brion as a CC since the skin updates for the iPhone were his baby.
Comment 1 Brion Vibber 2009-03-27 20:58:06 UTC
Per notes on and elsewhere it looks like IE doesn't handle media type specifications properly; a CSS 2 browser *should* see the 'screen' in the 'screen and (min-device-width: 481px)' and render that style for screen.

Annoyingly there's no sign of this information on Apple's docs which recommend the CSS3 media query in the first place:

IE conditional comments can be used to work around this by listing a media-less <link> for IE and the media-queried ones for everyone else.

Alternately, we could move to a model where iPhone and similar high-end mobile browsers get a _supplemental_ style sheet which adjusts some sizes and such instead of the completely separate handheld-only style. This might actually be ideal, since we have a completely separate web gateway for a fully-handheld-optimized version of the site.
Comment 2 Brion Vibber 2009-03-27 21:14:03 UTC
Adding IE tracking bug.
Comment 3 Siebrand Mazeland 2009-06-04 11:09:04 UTC
Update Web browser (assuming IE7 here).
Comment 4 Siebrand Mazeland 2009-06-04 11:35:37 UTC
Adding testme. Please test with Internet Explorer 8 and note the result here.
Comment 5 Matthew Flaschen 2013-06-20 01:22:41 UTC
Closing.  wgHandheldForIPhone was removed by 1965df8df3844ea62e409a34b1e971f66ac9a74a .

Note You need to log in before you can comment on or make changes to this bug.