Page MenuHomePhabricator

SVGReader should detect CSS animations for SVG
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:

  • This file uses CSS animations, which are not detected by the SVGReader class and marked in the metadata record. This makes it impossible for MediaWiki to reflect that this is an animated file.

What should have happened instead?:
It should have stated "Animated SVG", as it does for other types of SVG animations like SMIL used by for instance https://commons.wikimedia.org/wiki/File:Animated_SVG_clock_grey.svg

Event Timeline

Change 971619 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/core@master] SVGReader: Detect CSS animated SVGs

https://gerrit.wikimedia.org/r/971619

TheDJ moved this task from Inbox to For-review on the User-TheDJ board.
TheDJ triaged this task as Medium priority.Nov 7 2023, 1:40 PM

Change 971619 merged by jenkins-bot:

[mediawiki/core@master] SVGReader: Detect CSS animated SVGs

https://gerrit.wikimedia.org/r/971619

This is now fixed for new uploads.