dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(zhtable) Add zh2Hans: '这么' => '这么' for better segmentation
[lhc/web/wiklou.git]
/
includes
/
ImageGallery.php
diff --git
a/includes/ImageGallery.php
b/includes/ImageGallery.php
index
247acff
..
91c3190
100644
(file)
--- a/
includes/ImageGallery.php
+++ b/
includes/ImageGallery.php
@@
-20,9
+20,6
@@
* @file
*/
* @file
*/
-if ( ! defined( 'MEDIAWIKI' ) )
- die( 1 );
-
/**
* Image gallery
*
/**
* Image gallery
*
@@
-342,7
+339,7
@@
class ImageGallery {
if( $img ) {
$fileSize = htmlspecialchars( $wgLang->formatSize( $img->getSize() ) );
} else {
if( $img ) {
$fileSize = htmlspecialchars( $wgLang->formatSize( $img->getSize() ) );
} else {
- $fileSize = wfM
sgHtml( 'filemissing'
);
+ $fileSize = wfM
essage( 'filemissing' )->escaped(
);
}
$fileSize = "$fileSize<br />\n";
} else {
}
$fileSize = "$fileSize<br />\n";
} else {