Page MenuHomePhabricator

Allow icons (*.ico) to be uploaded
Closed, DeclinedPublic

Description

Author: Wiki.Melancholie

Description:
Allow icons (*.ico) to be uploadable by default.
There is no security issue with icons, and [[Image:Favicon.ico]] then could work like [[Image:Wiki.png]] for example.


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/wiki/Image:Favicon.ico

Details

Reference
bz16328

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:27 PM
bzimport set Reference to bz16328.
bzimport added a subscriber: Unknown Object (MLST).

Wiki.Melancholie wrote:

Example

Favicon.ico, per [[wikt:de:Wiktionary:Teestube#Vorschau]].
Should be also used by OpenSearch description, not just meta tag itself.

attachment favicon.ico ignored as obsolete

Why should .ico be enabled by default?

.ico files are useless on just about any wiki unless they are using the favicon trick.

The Favicon trick needs to be configured to use that path anyways. So if you need to configure the favicon path anyways, why does .ico need to be enabled in the many places it isn't needed because they didn't bother to remove it with a config they shouldn't need?

Wiki.Melancholie wrote:

Comment on attachment 5526
Example

Oops, wrong bug; sorry.
See bug 16315.

Wiki.Melancholie wrote:

@daniel: Just thought it could work like [[Image:Wiki.png]].

[[Image:Wiki.png]] doesn't work either unless you configure $wgLogo to use the same path as that image.

.png is enabled by default because it's a useful image format, .ico is disabled by default because there is no widespread usecase where it is useful, unless you are using something that already requires you to do extra config.

If/when we add an easier way to configure favicons (which we're not likely to do as they're cross-project) we'd probably have either a specific-purpose uploader or automated conversion from PNG.