protected $installer;
/**
- * Constructor.
- *
* @param Installer $installer
*/
public function __construct( Installer $installer ) {
$db->getGlobalNames()
);
- $unescaped = [ 'wgRightsIcon', 'wgLogo' ];
+ $unescaped = [ 'wgRightsIcon', 'wgLogo', '_Caches' ];
$boolItems = [
'wgEnableEmail', 'wgEnableUserEmail', 'wgEnotifUserTalk',
'wgEnotifWatchlist', 'wgEmailAuthentication', 'wgEnableUploads', 'wgUseInstantCommons',
$jsonFile = 'skin.json';
$function = 'wfLoadSkin';
} else {
- throw new InvalidArgumentException( '$dir was not "extensions" or "skins' );
+ throw new InvalidArgumentException( '$dir was not "extensions" or "skins"' );
}
$encName = self::escapePhpString( $name );
}
if ( !$this->values['wgShellLocale'] ) {
- $this->values['wgShellLocale'] = 'en_US.UTF-8';
+ $this->values['wgShellLocale'] = 'C.UTF-8';
$locale = '#';
} else {
$locale = '';