aboutsummaryrefslogtreecommitdiffstats
path: root/includes/ImageGallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ImageGallery.php')
-rw-r--r--includes/ImageGallery.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/ImageGallery.php b/includes/ImageGallery.php
index d4384289e02a..d29cf0d07e87 100644
--- a/includes/ImageGallery.php
+++ b/includes/ImageGallery.php
@@ -27,7 +27,7 @@ class ImageGallery
}
function toHTML() {
- global $wgLang, $wgUser;
+ global $wgLang, $wgContLang, $wgUser;
$sk = $wgUser->getSkin();
@@ -41,7 +41,7 @@ class ImageGallery
$nt = $img->getTitle();
//TODO
- //$ul = $sk->makeLink( $wgLang->getNsText( Namespace::getUser() ) . ":{$ut}", $ut );
+ //$ul = $sk->makeLink( $wgContLang->getNsText( Namespace::getUser() ) . ":{$ut}", $ut );
$ilink = '<a href="' . $img->getURL() . '">' . $nt->getText() . '</a>';
$nb = wfMsg( "nbytes", $wgLang->formatNum( $img->getSize() ) );