X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2Finstall.php;h=16b8ccf837ce350cf0bf9cccd22b4d6acd3eb1bf;hp=a71bb74a5ccdb5368ff7e5ab7e90f92a3bc52eb2;hb=f1f9006707a2324505a9d97b32f07bf5a28aa37e;hpb=f585244a778ed712859f48383472c24f105b1b4e diff --git a/maintenance/install.php b/maintenance/install.php index a71bb74a5c..16b8ccf837 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()->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 ) );