From feeae7ff83a5faf27e8b07536e6e4bc1033c45ee Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 27 Jan 2009 20:35:44 +0000 Subject: [PATCH] $wgLang -> $wgContLang. Thanks siebrand. --- includes/filerepo/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index 1b0fb71d2d..4ea9c2859c 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -1068,7 +1068,7 @@ abstract class File { * Get the HTML text of the description page, if available */ function getDescriptionText() { - global $wgMemc, $wgLang; + global $wgMemc, $wgContLang; if ( !$this->repo->fetchDescription ) { return false; } -- 2.20.1