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;
}
if ( !$envChecksOnly ) {
$status = $installer->execute();
if ( !$status->isGood() ) {
+ $installer->showStatusMessage( $status );
+
return false;
}
$installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) );