Last modified: 2012-09-27 01:13:33 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 T28211, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26211 - Add support for multiple resolutions to $wgAppleTouchIcon (iPhone classic, iPad, iPhone 4)
Add support for multiple resolutions to $wgAppleTouchIcon (iPhone classic, iP...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Interface (Other open bugs)
1.17.x
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://developer.apple.com/library/sa...
:
Depends on:
Blocks: hidpi 24457
  Show dependency treegraph
 
Reported: 2010-12-02 22:44 UTC by Brion Vibber
Modified: 2012-09-27 01:13 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Brion Vibber 2010-12-02 22:44:54 UTC
The $wgAppleTouchIcon config var can specify the path to an icon to be used for home-screen bookmarks on iOS devices.

Originally there was only a single resolution required, 57x57 pixels for the classic iPhone and iPod touch, so only a single link was needed.

Newer devices with larger or sharper screens prefer other resolutions: 72x72 for iPad, and 114x114 for the iPhone 4 and newer iPod Touch models with high-resolution displays. Under iOS 4.2, CSS3 multiple sizes may be specified by providing multiple links, with the 'sizes' attribute listing width & height.

Recommend allowing $wgAppleTouchIcon to be an array, perhaps:

$wgAppleTouchIcon = array(
    'default' => '/iphone-57.png',
    '72x72' => '/iphone-72.png',
    '114x114' => '/iphone-114.png',
);

or a more device-name-friendly:

$wgAppleTouchIcon = array(
    'iPhone' => '/iphone-57.png',
    'iPad' => '/iphone-72.png',
    'iPhone 4' => '/iphone-114.png',
);

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links