(bug 23063) Reverse handling of $wgMaxImageArea and $wgMaxAnimatedGifArea: the former...
authorIlmari Karonen <vyznev@users.mediawiki.org>
Wed, 7 Apr 2010 05:41:44 +0000 (05:41 +0000)
committerIlmari Karonen <vyznev@users.mediawiki.org>
Wed, 7 Apr 2010 05:41:44 +0000 (05:41 +0000)
commit9686c4bf20ac1ba55a2da64e9515dfc09b835e7a
tree1976563f037f957fc75eb435a5818f331525c15d
parentdaba9d916073aeba756e68f23ebc7488294763fd
(bug 23063) Reverse handling of $wgMaxImageArea and $wgMaxAnimatedGifArea: the former is now compared to the size of the first frame and the latter to the total size of all frames.  Also increase default value of $wgMaxAnimatedGifArea to match $wgMaxImageArea.  This change should not affect the thumbnailing of non-animated images in any way.
The way the logic and the defaults were before, it was basically impossible for animations with more than 12 frames to reach the "only thumbnail first frame" codepath; this surely cannot have been intended.
Also mention r64691 in release notes.
RELEASE-NOTES
includes/DefaultSettings.php
includes/media/Bitmap.php