When you visit en.wikipedia.org with an iPhone you are forwarded to en.m.wikipedia.org which is formatted beautifully for the device. I have MediaWiki on my own server and I'd love to have this formatting available when I visit my site with my iPhone. Is there an easy way to enable this? I've gotten as far as www.mediawiki.org/wiki/Manual:$wgHandheldForIPhone and http://www.mediawiki.org/wiki/Extension:MobileSkin but nothing is jumping out at me.
A:
You posted a link with complete instructions on how to deploy this into your installation of MediaWiki...
-t
Tim
2010-01-08 18:59:04
http://www.mediawiki.org/wiki/Extension:MobileSkin does NOT contain *complete* instructions. It talks about setting up the extension to determine if the visitor has an iPhone but it doesn't cover which style sheets to use or how to use the extension to serve those style sheets to iPhone users. I've got the extension on my server and I followed every direction on the page but all it does is hide some of the styles. I get the same fonts and colors but not the regular top-bar-plus-side-column layout, and it's all small. I'm still lacking the iPhone-specific styling found at en.m.wikipedia.org.
Brian Ashe
2010-01-11 02:50:52
A:
Hi, were you able to solve this? I also would like to add the iPhone skin to my MediaWiki site
Dinis Cruz
2010-02-15 12:53:57
A:
I don't believe it's a skin that's on general release yet and was developed specifically for Wikipedia.
James Wanchai
2010-02-23 20:41:24
+3
A:
m.wikipedia.org is based on the wikimedia-mobile server, whose source code is available here:
http://github.com/hcatlin/wikimedia-mobile
It's a proxy of sorts that gets pages from Wikipedia, shuffles the contents and then serves them out formatted for mobiles, with caching to speed up things. It's written in Ruby and seems to be fairly customized for Wikipedia and the Monobook skin.
jpatokal
2010-04-13 00:19:20