https://bugzilla.wikimedia.org/show_bug.cgi?id=26211

           Summary: Add support for multiple resolutions to
                    $wgAppleTouchIcon (iPhone classic, iPad, iPhone 4)
           Product: MediaWiki
           Version: 1.17-svn
          Platform: All
               URL: http://developer.apple.com/library/safari/#documentati
                    on/AppleApplications/Reference/SafariWebContent/Config
                    uringWebApplications/ConfiguringWebApplications.html
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Device compatibility
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: br...@pobox.com


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',
);

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to