* (bug 18436) JavaScript-added AJAX messages (from the JS watch/unwatch, for
instance) no longer include a redundant "display:block" hardcoded style.
* (bug 20802) Fixed thumb.php redirect handling
+* (bug 17747) Only display thumbnail column in file history if the image can
+ be rendered.
== API changes in 1.16 ==
$this->img = $imagePage->getDisplayedFile();
$this->title = $imagePage->getTitle();
$this->imagePage = $imagePage;
- $this->showThumb = $wgShowArchiveThumbnails;
+ $this->showThumb = $wgShowArchiveThumbnails && $this->img->canRender();
}
public function getImagePage() {