From ceb435837c46ceb808897b3c06d731156beedfdc Mon Sep 17 00:00:00 2001 From: Bryan Tong Minh Date: Sat, 30 Apr 2011 18:50:37 +0000 Subject: [PATCH] (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles --- RELEASE-NOTES | 1 + includes/specials/SpecialListfiles.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index f207d3d81d..13e2a108dd 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -256,6 +256,7 @@ PHP if you have not done so prior to upgrading MediaWiki. * (bug 28719) Do not call mLinkHolders __destruct explicitly * (bug 21196) Article::getContributors() no longer fails on PostgreSQL. * (bug 28752) XCache doesn't work in CLI mode. +* (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles === API changes in 1.18 === * (bug 26339) Throw warning when truncating an overlarge API result. diff --git a/includes/specials/SpecialListfiles.php b/includes/specials/SpecialListfiles.php index ca6e8aa3b2..5327e203e4 100644 --- a/includes/specials/SpecialListfiles.php +++ b/includes/specials/SpecialListfiles.php @@ -188,7 +188,7 @@ class ImageListPager extends TablePager { switch ( $field ) { case 'thumb': $file = wfLocalFile( $value ); - $thumb = $file->transform( array( 'width' => 180 ) ); + $thumb = $file->transform( array( 'width' => 180, 'height' => 360 ) ); return $thumb->toHtml( array( 'desc-link' => true ) ); case 'img_timestamp': return htmlspecialchars( $wgLang->timeanddate( $value, true ) ); -- 2.20.1