Per comments on r99911 move $wgMaxImageArea check back to normaliseParams(). Added...
authorBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 2 Nov 2011 20:48:50 +0000 (20:48 +0000)
committerBryan Tong Minh <btongminh@users.mediawiki.org>
Wed, 2 Nov 2011 20:48:50 +0000 (20:48 +0000)
commiteac3d58b442b4e2ffd5625bc30c86a6c87596faf
tree7eb930f1f54ce640243fe92c1c8a1725a985c308
parent6e25aaba722de6fc6853336f9b32dd8b84afa96a
Per comments on r99911 move $wgMaxImageArea check back to normaliseParams(). Added hook BitmapHandlerCheckImageArea to override the area check. I'm not very happy with this overly specific hook, but I don't see a clear way to obtain the functionallity required otherwise.

Remove the width and height params from BitmapHandler::getImageArea(). There is really no reason for them to be there.
RELEASE-NOTES-1.19
docs/hooks.txt
includes/media/Bitmap.php
includes/media/GIF.php
tests/phpunit/includes/media/BitmapScalingTest.php