Last modified: 2012-09-06 18:31:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41297, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39297 - Give some sort of error if animated gif size exceeds $wgMaxAnimatedGifArea
Give some sort of error if animated gif size exceeds $wgMaxAnimatedGifArea
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: gif
  Show dependency treegraph
 
Reported: 2012-08-13 00:27 UTC by Smallman
Modified: 2012-09-06 18:31 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Smallman 2012-08-13 00:27:37 UTC
Give some sort of error when an animated gif exceeds the $wgMaxAnimatedGifArea

Currently, only the first frame is shown, which is fine, but the user should also be made aware that there is an error.

https://www.mediawiki.org/wiki/Manual:$wgMaxAnimatedGifArea
Comment 1 Bawolff (Brian Wolff) 2012-08-13 12:16:50 UTC
What sort of error did you have in mind? (When you upload the image, on the image description page [probably the best bet], when you are previewing a page that is going to include said image, directly where the image is included, something else?)

Most practical I would imagine would be on the image description page, right where the "Obesity_state_level_estimates_1985-2010.gif ‎(612 × 451 pixels, file size: 567 KB, MIME type: image/gif, looped, 26 frames, 26s)" line is.
Comment 2 Jens K Andersen 2012-08-13 20:47:33 UTC
Commons has a manually populated category:
http://commons.wikimedia.org/wiki/Category:Animated_gifs_exceeding_the_12.5MP_limit

An automatically populated category would be nice.
The default name might be
Category:Animated gifs exceeding the scaling limit
Comment 3 Bawolff (Brian Wolff) 2012-08-19 20:49:56 UTC
See also related bug 23063


Gerrit change #20662 introduces a warning on image description pages if we can't animate thumbnail (That includes APNG and animated SVG's as well).


> 
> An automatically populated category would be nice.
> The default name might be
> Category:Animated gifs exceeding the scaling limit

How much is this wanted. The parser is kind of separate from displaying the image, so I'm not sure what a clean way of adding the category would be.
Comment 4 Jens K Andersen 2012-08-20 02:39:35 UTC
> > An automatically populated category would be nice.
> 
> How much is this wanted.

It doesn't seem important if the image description page displays a warning.
Comment 5 Smallman 2012-08-21 19:10:59 UTC
I would support an image description warning like what Bawolff suggested.
Comment 6 Roan Kattouw 2012-08-22 02:12:48 UTC
(In reply to comment #3)
> Gerrit change #20662 introduces a warning on image description pages if we can't
> animate thumbnail (That includes APNG and animated SVG's as well).
> 
This is now merged.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links