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


Jadrian Miles <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #1 from Jadrian Miles <[email protected]>  2009-04-07 20:46:13 
UTC ---
As it is currently implemented, using rel="shortcut icon", Firefox 3 does not
recognize favicons set with $wgFavicon.  A quick-and-dirty fix is the
following:

* Add a new line in includes/DefaultSettings.php: $wgFaviconType =
'image/vnd.microsoft.icon';
* Modify the line in includes/Skin.php that reads:
    $out->addLink( array( 'rel' => 'shortcut icon', 'href' => $wgFavicon ) );
  to instead be
    $out->addLink( array( 'rel' => 'icon', 'type' => $wgFaviconType, 'href' =>
$wgFavicon ) );

In this case the user must specify $wgFaviconType as well as $wgFavicon in
LocalSettings.php, e.g.:
    $wgFavicon = '/images/myIcon.gif'
    $wgFaviconType = 'image/gif';
Theoretically the type could be derived from the extension on the icon file
itself, but that involves more code and also would break under the common case
of the web designer renaming a non-ICO image (an animated GIF, for example) to
have a .ico extension (see <http://en.wikipedia.org/wiki/Favicon#Legacy>).


-- 
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to