Fix misnamed SVGHandler::canAnimateThumb()
authorBrian Wolff <bawolff+wn@gmail.com>
Wed, 11 Jun 2014 00:15:53 +0000 (21:15 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Wed, 11 Jun 2014 00:15:53 +0000 (21:15 -0300)
commit3a4bfb597e850eca5e07e1a22ddcca8ba8810594
tree123ef47acf3a45646b0ae188463b096c9a669313
parente50ef5784e237ce26c91ec402cb94669c78e303e
Fix misnamed SVGHandler::canAnimateThumb()

Caused the animation warning to not be present on
image description pages

Also add unit tests. Since I'm adding an animated svg file for
this unit test, also add a metadata extraction test for animated
svgs, since we're missing one.

Change-Id: Id03e1a0e1c151d3c575a695a42c54b709187d10a
follow-up: 876128f8c9f0ce6a8424336f
includes/media/SVG.php
tests/phpunit/data/media/Bishzilla_blink.gif [new file with mode: 0644]
tests/phpunit/data/media/README
tests/phpunit/data/media/Soccer_ball_animated.svg [new file with mode: 0644]
tests/phpunit/includes/filerepo/files/FileTest.php [new file with mode: 0644]
tests/phpunit/includes/media/MediaWikiMediaTestCase.php
tests/phpunit/includes/media/SVGMetadataExtractorTest.php