]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - includes/ImageGallery.php
MediaWiki 1.15.0
[autoinstallsdev/mediawiki.git] / includes / ImageGallery.php
index f3f525c11db6a0cc4598c290937ba41fff0f90d8..8a38bed7289318d03a6da9f9c3e45890060a9bae 100644 (file)
@@ -289,7 +289,7 @@ class ImageGallery
                        }
 
                        $textlink = $this->mShowFilename ?
-                               $sk->makeKnownLinkObj( $nt, htmlspecialchars( $wgLang->truncate( $nt->getText(), 20, '...' ) ) ) . "<br />\n" :
+                               $sk->makeKnownLinkObj( $nt, htmlspecialchars( $wgLang->truncate( $nt->getText(), 20 ) ) ) . "<br />\n" :
                                '' ;
 
                        # ATTENTION: The newline after <div class="gallerytext"> is needed to accommodate htmltidy which