From: Bryan Tong Minh Date: Sat, 30 Apr 2011 18:50:37 +0000 (+0000) Subject: (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles X-Git-Tag: 1.31.0-rc.0~30490 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dmes_infos.php?a=commitdiff_plain;h=ceb435837c46ceb808897b3c06d731156beedfdc;p=lhc%2Fweb%2Fwiklou.git (bug 28076) Thumbnail height limited to 360 pixels on Special:Listfiles --- 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 ) );