Fixed inconsistent error return in Image::getThumbnail() -- was returning null if...
authorTim Starling <tstarling@users.mediawiki.org>
Sat, 17 Jun 2006 04:11:21 +0000 (04:11 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Sat, 17 Jun 2006 04:11:21 +0000 (04:11 +0000)
commit043c6d2c83c82df3ce1450051117ef39879fbdb1
treee34498b900574a17b3dcd66aa49309a03a6d8ef5
parent7818d542f05405d95b31ff7cbafdc08024f62704
Fixed inconsistent error return in Image::getThumbnail() -- was returning null if height wasn't specified, an icon thumb if it was. Made it return null all the time, and fixed ImageGallery.php to understand that return value. Also made ImageGallery give informative errors if $wgIgnoreImageErrors is off.
includes/Image.php
includes/ImageGallery.php