From: Gilles Dubuc Date: Mon, 10 Nov 2014 17:21:54 +0000 (+0100) Subject: Add debug call to check that config passing to the image scalers works X-Git-Tag: 1.31.0-rc.0~13325^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=01b8ce442368d8933943fad256b458a114990afc;p=lhc%2Fweb%2Fwiklou.git Add debug call to check that config passing to the image scalers works Change-Id: I2d1f7de7985e230752cdc8a9c4accae027e5592f Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/600 --- diff --git a/includes/filerepo/file/File.php b/includes/filerepo/file/File.php index 7563d642c6..c82be507e2 100644 --- a/includes/filerepo/file/File.php +++ b/includes/filerepo/file/File.php @@ -471,6 +471,8 @@ abstract class File { public function getThumbnailBucket( $desiredWidth, $page = 1 ) { global $wgThumbnailBuckets, $wgThumbnailMinimumBucketDistance; + wfDebugLog( 'thumbnail', 'thumbnail buckets ' . json_encode( $wgThumbnailBuckets ) ); + $imageWidth = $this->getWidth( $page ); if ( $imageWidth === false ) {