Page MenuHomePhabricator

Allow SVG uploads on Commons
Closed, ResolvedPublic

Description

Author: silsor

Description:
SVG is an open data format for representing vector images. It does not have
mainstream rendering support in web browsers, but should be enabled for upload on
commons in order to store the SVG source files for many PNG images.

Related to bug 667.


Version: unspecified
Severity: enhancement

Details

Reference
bz1683
Related Changes in GitLab:
TitleReferenceAuthorSource BranchDest Branch
T368326-update-metrics-platform-to-accept-experiment-membershiprepos/data-engineering/metrics-platform!71jebeT368326-update-metrics-platform-to-accept-experiment-membershipmain
ProjectSection: make the 'Show all' button have type=buttonrepos/commtech/wishlist-intake!230musikanimalbutton-typemain
WishlistIntake: use form tag so Enter will submit the formrepos/commtech/wishlist-intake!227musikanimalenter-submitmain
mediawiki-pages: AbuseFilters for restricted fields and data integrityrepos/commtech/wishlist-intake!181musikanimalabuse-filtersmain
Draft: [BREAKING CHANGE] Use new createZObjectKey.repos/abstract-wiki/wikifunctions/function-orchestrator!200apineapine-no-stable-stringifymain
Register Z189/Z289 as built-in validatorsrepos/abstract-wiki/wikifunctions/function-orchestrator!199jforresterT368318main
Update function-schemata sub-module to HEAD (eb689ce)repos/abstract-wiki/wikifunctions/wikilambda-cli!43jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (eb689ce)repos/abstract-wiki/wikifunctions/function-evaluator!231jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (eb689ce)repos/abstract-wiki/wikifunctions/function-orchestrator!198jforrestersync-function-schematamain
Strip translate tags from wikitext when building a Wishrepos/commtech/wishlist-intake!174tstarlingwork/tstarling/strip-translatemain
Remove special handling of RTL tablesrepos/commtech/wishlist-intake!167samwilsonrtl-tablesmain
On the index pages, use TNTN to include the localised row list templaterepos/commtech/wishlist-intake!140tstarlingwork/tstarling/tntnmain
Update function-schemata sub-module to HEAD (851131f)repos/abstract-wiki/wikifunctions/function-orchestrator!193jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (851131f)repos/abstract-wiki/wikifunctions/function-evaluator!227jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (851131f)repos/abstract-wiki/wikifunctions/wikilambda-cli!41jforrestersync-function-schematamain
Draft: mediawiki-pages: add TNT system to fetch translated wish titlesrepos/commtech/wishlist-intake!130musikanimaltnt-wish-titlesmain
Empty wish submission form behaviourrepos/commtech/wishlist-intake!128samtarT368379main
Use wikimedia-copyrightwarning messagerepos/commtech/wishlist-intake!127samtarT368363main
DescriptionField: use Target's parseDocument() when switching to visualrepos/commtech/wishlist-intake!122musikanimalT368396main
Update logorepos/data-engineering/mpic!61cjmingT368307/update-logomain
Show related patches Customize query in GitLab

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:16 PM
bzimport set Reference to bz1683.
bzimport added a subscriber: Unknown Object (MLST).

SVG, like HTML, supports dynamic scripting. Common plug-ins allow executing
JavaScript in the browser context. SVG is disabled pending a safety filter.

avarab wrote:

*** This bug has been marked as a duplicate of 898 ***

zigger wrote:

*** Bug 3217 has been marked as a duplicate of this bug. ***

jjcogliati-wp wrote:

Links to various discussions is at <a
href="http://meta.wikimedia.org/wiki/SVG_image_support">Meta SVG image support</a>

jjcogliati-wp wrote:

There is a SVG sanitizer available at
http://en.wikipedia.org/wiki/User:Aarchiba/SVG_sanitizer but, Brion says that it
is insufficient but has not looked at the new version uploaded in late March
that fixes the event hooks.