X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_user_edit%27%2C%20iduser=user.userid%29%20%7D%7D?a=blobdiff_plain;f=maintenance%2Finstall.php;h=20254b0c05e93c3c747fc80a6cb69ee281fae78e;hb=1eb5d8e44d7f0476a3f85b3f7e15d7f2cbc51f9e;hp=a71bb74a5ccdb5368ff7e5ab7e90f92a3bc52eb2;hpb=4549aabaec52cdb870fed9f8e735901199ac4832;p=lhc%2Fweb%2Fwiklou.git 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 ) );