X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Finstall.php;h=20254b0c05e93c3c747fc80a6cb69ee281fae78e;hp=a71bb74a5ccdb5368ff7e5ab7e90f92a3bc52eb2;hb=7afced64454ad30d688540f7626448ac2faefebb;hpb=5e2788a0c5c9e22da8b22993ae97c27cc836a839 diff --git a/maintenance/install.php b/maintenance/install.php index a71bb74a5c..20254b0c05 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -118,7 +118,7 @@ class CommandLineInstaller extends Maintenance { try { $installer = InstallerOverrides::getCliInstaller( $siteName, $adminName, $this->mOptions ); } catch ( \MediaWiki\Installer\InstallException $e ) { - $this->output( $e->getStatus()->getMessage()->parse() . "\n" ); + $this->output( $e->getStatus()->getMessage( false, false, 'en' )->text() . "\n" ); return false; } @@ -133,6 +133,8 @@ class CommandLineInstaller extends Maintenance { if ( !$envChecksOnly ) { $status = $installer->execute(); if ( !$status->isGood() ) { + $installer->showStatusMessage( $status ); + return false; } $installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) );