For MediaWiki (recent comments | status changes | tags | authors | states | release notes | statistics)
Index: trunk/phase3/includes/DefaultSettings.php =================================================================== --- trunk/phase3/includes/DefaultSettings.php (revision 29941) +++ trunk/phase3/includes/DefaultSettings.php (revision 29942) @@ -157,6 +157,7 @@ $wgHashedUploadDirectory = true; $wgLogo = false; /// defaults to "{$wgStylePath}/common/images/wiki.png" $wgFavicon = '/favicon.ico'; +$wgAppleTouchIcon = false; /// This one'll actually default to off. For iPhone and iPod Touch web app bookmarks $wgMathPath = false; /// defaults to "{$wgUploadPath}/math" $wgMathDirectory = false; /// defaults to "{$wgUploadDirectory}/math" $wgTmpDirectory = false; /// defaults to "{$wgUploadDirectory}/tmp" Index: trunk/phase3/includes/Skin.php =================================================================== --- trunk/phase3/includes/Skin.php (revision 29941) +++ trunk/phase3/includes/Skin.php (revision 29942) @@ -153,13 +153,17 @@ } function initPage( &$out ) { - global $wgFavicon, $wgScriptPath, $wgSitename, $wgContLang; + global $wgFavicon, $wgAppleTouchIcon, $wgScriptPath, $wgSitename, $wgContLang; wfProfileIn( __METHOD__ ); if( false !== $wgFavicon ) { $out->addLink( array( 'rel' => 'shortcut icon', 'href' => $wgFavicon ) ); } + + if( false !== $wgAppleTouchIcon ) { + $out->addLink( array( 'rel' => 'apple-touch-icon', 'href' => $wgAppleTouchIcon ) ); + } $code = $wgContLang->getCode(); $name = $wgContLang->getLanguageName( $code ); Index: trunk/phase3/RELEASE-NOTES =================================================================== --- trunk/phase3/RELEASE-NOTES (revision 29941) +++ trunk/phase3/RELEASE-NOTES (revision 29942) @@ -134,7 +134,9 @@ * (bug 18585) Added a bunch of parameters to the revertpage message * Support redirects in image namespace * (bug 10049) Prefix index search and namespaces in Special:Withoutinterwiki +* (bug 12668) Support for custom iPhone bookmark icon via $wgAppleTouchIcon + === Bug fixes in 1.12 === * Subpages are now indexed for searching properly when using PostgreSQL