X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Finstaller%2FLocalSettingsGenerator.php;h=bdaeaca86c2f60384d4932a171c690ed19bd7417;hp=697188ef081b7f0ed61503c6fd22d04e00c5fa0f;hb=89539f2aa1b158fdcc703ad053e2580cb97a6385;hpb=350b138a7d3dbce7e75d9f8773c65ec046b2d240 diff --git a/includes/installer/LocalSettingsGenerator.php b/includes/installer/LocalSettingsGenerator.php index 697188ef08..bdaeaca86c 100644 --- a/includes/installer/LocalSettingsGenerator.php +++ b/includes/installer/LocalSettingsGenerator.php @@ -41,8 +41,6 @@ class LocalSettingsGenerator { protected $installer; /** - * Constructor. - * * @param Installer $installer */ public function __construct( Installer $installer ) { @@ -69,7 +67,7 @@ class LocalSettingsGenerator { $db->getGlobalNames() ); - $unescaped = [ 'wgRightsIcon', 'wgLogo' ]; + $unescaped = [ 'wgRightsIcon', 'wgLogo', '_Caches' ]; $boolItems = [ 'wgEnableEmail', 'wgEnableUserEmail', 'wgEnotifUserTalk', 'wgEnotifWatchlist', 'wgEmailAuthentication', 'wgEnableUploads', 'wgUseInstantCommons', @@ -241,7 +239,7 @@ class LocalSettingsGenerator { } if ( !$this->values['wgShellLocale'] ) { - $this->values['wgShellLocale'] = 'en_US.UTF-8'; + $this->values['wgShellLocale'] = 'C.UTF-8'; $locale = '#'; } else { $locale = '';