dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d45daa4
)
(bug 39538) SVG filepages do not need the file-nohires message.
author
Derk-Jan Hartman
<hartman@videolan.org>
Fri, 7 Sep 2012 17:23:37 +0000
(19:23 +0200)
committer
Derk-Jan Hartman
<hartman@videolan.org>
Tue, 11 Sep 2012 21:48:01 +0000
(23:48 +0200)
Change-Id: I88b75079d09cc3ab1904a0a2d716fe2df57b7be6
includes/ImagePage.php
patch
|
blob
|
history
diff --git
a/includes/ImagePage.php
b/includes/ImagePage.php
index
c7afb76
..
6f1b1a1
100644
(file)
--- 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();