X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=blobdiff_plain;f=includes%2Finstaller%2FMysqlUpdater.php;fp=includes%2Finstaller%2FMysqlUpdater.php;h=408f2fbb36339983f14a88ae07c7a9a93cc7c989;hb=4444f35d1d9f23bcb777fd4c19f8ea42888ae4a9;hp=c5c45f0f66c5ca29f6ec8572ac7fc6f3962198e3;hpb=ddd47d280860b7101a85ea73540c318112191526;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index c5c45f0f66..408f2fbb36 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -757,8 +757,9 @@ class MysqlUpdater extends DatabaseUpdater { 'Converting links and brokenlinks tables to pagelinks' ); - global $wgContLang; - foreach ( $wgContLang->getNamespaces() as $ns => $name ) { + foreach ( + MediaWikiServices::getInstance()->getContentLanguage()->getNamespaces() as $ns => $name + ) { if ( $ns == 0 ) { continue; }