Made wfThumbIsStandard() aware of the width/height handler scaling choice
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 30 Apr 2014 23:51:57 +0000 (16:51 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 1 May 2014 00:08:29 +0000 (00:08 +0000)
commita530be17cfef51d4e9005082fab29b25616af223
treefd01d601d5078d68c483cbe2d5d8826eb64a854b
parent6253af3e56257738d7de12fcc13ab2bb475ba4ba
Made wfThumbIsStandard() aware of the width/height handler scaling choice

* Generally, either the height or width is used for each description page
  link when using $wgImageLimits. This depends on the $wgImageLimits values
  and the file dimensions. Description page links should better pass the
  wfThumbIsStandard() method now, and thus have weaker rate-limiting.

Change-Id: Id1c3b0fc57f8ed3c14929a1a1661842a069b805d
thumb.php