diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2009-02-22 13:37:51 +0100 |
commit | b9b85843572bf283f48285001e276ba7e61b63f6 (patch) | |
tree | 4c6f4571552ada9ccfb4030481dcf77308f8b254 /includes/ImageGallery.php | |
parent | d9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff) |
updated to MediaWiki 1.14.0
Diffstat (limited to 'includes/ImageGallery.php')
-rw-r--r-- | includes/ImageGallery.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php index 492a3e06..f3f525c1 100644 --- a/includes/ImageGallery.php +++ b/includes/ImageGallery.php @@ -244,7 +244,7 @@ class ImageGallery $img = wfFindFile( $nt, $time ); - if( $nt->getNamespace() != NS_IMAGE || !$img ) { + if( $nt->getNamespace() != NS_FILE || !$img ) { # We're dealing with a non-image, spit out the name and be done with it. $thumbhtml = "\n\t\t\t".'<div style="height: '.($this->mHeights*1.25+2).'px;">' . htmlspecialchars( $nt->getText() ) . '</div>'; |