Page MenuHomePhabricator

An IPhone mod for cologne blue php and css skin
Closed, DeclinedPublic

Description

Author: ron

Description:
Adjustments for IPhone compatibility

This is a safe IPhone modification for the cologne blue skin in anticipation for eventual wider release and integration with a mainstream skin that will be developed later.

Environment variables are used to test for iphone presence and use if statements to remove unneeded menus. Less is more, especially on a very small, mean, and sleek device like an Iphone. Things such as complex, redundant footers, and tall headers are reduced. Edit field box is made smaller to fit the width of the device.

A small metadata statement is placed that is required for the iphone and doesn't seem to harm any other browser. And finally a small-device.css phone that re-skins the browser for the Wikipedia.


Version: 1.12.x
Severity: enhancement
Platform: Macintosh
URL: http://www.historicalwiki.org

Attached:

Details

Reference
bz14831

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 21 2014, 10:08 PM
bzimport added a project: MediaWiki-Interface.
bzimport set Reference to bz14831.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Jul 16 2008, 8:28 AM

river wrote:

not related to the Modern skin

Please post patches as unified diffs (output of 'svn diff' is ideal!) rather than tarballs if possible -- it makes them a lot easier to review. :)

Note that due to MediaWiki's caching requirements, we don't intend to support any user-agent sniffing for skin modifications.

You can however attach a stylesheet which will be recognized by the iPhone and similar devices using CSS media queries. See recent updates about handheld stylesheet options (not currently applied to Cologne Blue, which is an old-style skin). Some notes on my blog: http://leuksman.com/log/2008/07/27/handheld-css-variants/ and on wikitech-l discussion list.

Remove "easy, patch" keywords, as this issue needs a new version of the patch first.

MaxSem added a comment.May 1 2012, 3:57 PM

Note that we currently have MobileFrontend which provides a mobile-specific skin which has stylesheets for various devices including iPhone. I don't think that we should add any serious mobile support to legacy desktop skins.

Danny_B removed a subscriber: wikibugs-l-list.