Avoid extreme performance regression in ImagePage.
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 20 May 2012 05:07:09 +0000 (22:07 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sun, 20 May 2012 05:07:15 +0000 (22:07 -0700)
commit1aaac4c915c001f3b759d22d65e12aa0dda02d1e
treed947e81fbe5bf1ed5261fd7b5b3f9b70e2b56132
parent2f5914c2ce4c612920dd96f5ef66e3bd342d2195
Avoid extreme performance regression in ImagePage.

* For some reason, when 404 handling is off, all the links for
  $wgImageLimits were still generated but not put into the HTML.
  They still triggered convert() calls - 7 times by default.

Change-Id: I0d12c7ec3c02039c1307a1a1d04d1d1cbd44b547
includes/ImagePage.php