From 287c78dea8f06724a3ee85d0909faa8f7c60ece5 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Fri, 7 Sep 2012 19:23:37 +0200 Subject: [PATCH] (bug 39538) SVG filepages do not need the file-nohires message. Change-Id: I88b75079d09cc3ab1904a0a2d716fe2df57b7be6 --- includes/ImagePage.php | 3 +++ 1 file changed, 3 insertions(+) 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(); -- 2.20.1