On Sun, Aug 3, 2008 at 11:46 AM, Stephen Bain stephen.bain@gmail.com wrote:
I believe that the iPhone runs Safari 3, which supports CSS3 media queries, so it should be possible to create an iPhone compatible variant of the current MediaWiki skins simply through the css. Given that Monobook is achieved entirely with css positioning anyway, it should be fairly straightforward to implement.
Digging into the code, I see that SkinTemplate::transformCssMedia() appears to redirect the iPhone to use the "handheld" stylesheet if $wgHandheldForIPhone is set to true?
In this case all that is necessary would be to define a handheld stylesheet for the particular skin, and the iPhone will use it?