X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Finstaller%2FCliInstaller.php;h=162a978af0b338cc396de29f9517f21064f8b082;hp=90ba3c479c5c6ab162d138807045703846957400;hb=110f9e3db7ec0a7ac037b9f355092640591770d3;hpb=63f8c9aad413ed44e8312dd03fa1eec0620b3140 diff --git a/includes/installer/CliInstaller.php b/includes/installer/CliInstaller.php index 90ba3c479c..162a978af0 100644 --- a/includes/installer/CliInstaller.php +++ b/includes/installer/CliInstaller.php @@ -72,6 +72,7 @@ class CliInstaller extends Installer { $wgContLang = Language::factory( $option['lang'] ); $wgLang = Language::factory( $option['lang'] ); $wgLanguageCode = $option['lang']; + $this->setVar( 'wgLanguageCode', $wgLanguageCode ); RequestContext::getMain()->setLanguage( $wgLang ); }