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.
I operate Wikiaudio and this is what I did:
Install and use this extension, to detect this skin (WP touch).
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.
Wikipedia uses MobileFrontend.
You posted a link with complete instructions on how to deploy this into your installation of MediaWiki...
-t
I don't believe it's a skin that's on general release yet and was developed specifically for Wikipedia.
精彩评论