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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20208, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18208 - Enabling $wgHandheldForIPhone breaks Monobook in IE
Enabling $wgHandheldForIPhone breaks Monobook in IE
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
unspecified
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: ---


Attachments

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 http://www.alistapart.com/comments/returnofthemobilestylesheet/?page=3 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: http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/OptimizingforSafarioniPhone/chapter_3_section_2.html

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.


Navigation
Links