From 2584890446990724ae534e4bf12bcda1f63ffa33 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Sat, 20 Dec 2008 23:49:16 +0000 Subject: [PATCH] Fix up r44860, use $wgContLang instead. --- includes/api/ApiQuerySiteinfo.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/api/ApiQuerySiteinfo.php b/includes/api/ApiQuerySiteinfo.php index 326f4fc68f..17c1a52220 100644 --- a/includes/api/ApiQuerySiteinfo.php +++ b/includes/api/ApiQuerySiteinfo.php @@ -149,9 +149,9 @@ class ApiQuerySiteinfo extends ApiQueryBase { } protected function appendNamespaceAliases( $property ) { - global $wgNamespaceAliases, $wgLang; - $wgLang->load(); - $aliases = array_merge($wgNamespaceAliases, $wgLang->namespaceAliases); + global $wgNamespaceAliases, $wgContLang; + $wgContLang->load(); + $aliases = array_merge($wgNamespaceAliases, $wgContLang->namespaceAliases); $data = array(); foreach( $aliases as $title => $ns ) { $item = array( -- 2.20.1