From: Derk-Jan Hartman Date: Fri, 7 Sep 2012 17:23:37 +0000 (+0200) Subject: (bug 39538) SVG filepages do not need the file-nohires message. X-Git-Tag: 1.31.0-rc.0~22390^2 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=287c78dea8f06724a3ee85d0909faa8f7c60ece5;p=lhc%2Fweb%2Fwiklou.git (bug 39538) SVG filepages do not need the file-nohires message. Change-Id: I88b75079d09cc3ab1904a0a2d716fe2df57b7be6 --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index c7afb7636f..6f1b1a15d4 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -383,6 +383,9 @@ class ImagePage extends Article { # Some sort of audio file that doesn't have dimensions # Don't output a no hi res message for such a file $msgsmall = ''; + } elseif ( $this->displayImg->isVectorized() ) { + # For vectorized images, full size is just the frame size + $msgsmall = ''; } else { # Image is small enough to show full size on image page $msgsmall = wfMessage( 'file-nohires' )->parse();