X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FInstaller.php;h=48f850f8ac71df683a8aad8e9a33beab4a12d366;hb=d0afaa88434ebcb442c6dda5c46080bbc8e86a53;hp=edc0feba95d53a9530a2a8c5aaa6bca40b4b2b01;hpb=b51729f77074984d4db7ff12e6d864c358292ec3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/Installer.php b/includes/installer/Installer.php index edc0feba95..48f850f8ac 100644 --- a/includes/installer/Installer.php +++ b/includes/installer/Installer.php @@ -102,6 +102,7 @@ abstract class Installer { 'mysql', 'postgres', 'oracle', + 'mssql', 'sqlite', ); @@ -345,15 +346,14 @@ abstract class Installer { * Constructor, always call this from child classes. */ public function __construct() { - global $wgExtensionMessagesFiles, $wgUser; + global $wgMessagesDirs, $wgUser; // Disable the i18n cache and LoadBalancer Language::getLocalisationCache()->disableBackend(); LBFactory::disableBackend(); - // Load the installer's i18n file. - $wgExtensionMessagesFiles['MediawikiInstaller'] = - __DIR__ . '/Installer.i18n.php'; + // Load the installer's i18n. + $wgMessagesDirs['MediawikiInstaller'] = __DIR__ . '/i18n'; // Having a user with id = 0 safeguards us from DB access via User::loadOptions(). $wgUser = User::newFromId( 0 );