X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=20254b0c05e93c3c747fc80a6cb69ee281fae78e;hb=d42d1dbabd7dc81b454cfad8bbbe787cdd3cdf9f;hp=28a1746d9ec37d69d0004a4cef5bd9b60d098058;hpb=0aec1401e59f0c386729792515995b319d6480e0;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/install.php b/maintenance/install.php index 28a1746d9e..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()->text() . "\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 ) );