X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=bf39fbd5177ecca7e11e31728da8fa25f408facd;hb=62991fcb7a5027b1eceb5656829c1c65bf9f98cb;hp=16b8ccf837ce350cf0bf9cccd22b4d6acd3eb1bf;hpb=f0c24143231d90ff409ddee62c853e8b6e1522bb;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/install.php b/maintenance/install.php index 16b8ccf837..bf39fbd517 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -60,6 +60,12 @@ class CommandLineInstaller extends Maintenance { false, true ); + $this->addOption( + 'server', + 'The base URL of the web server the wiki will be on (http://localhost)', + false, + true + ); $this->addOption( 'lang', 'The language to use (en)', false, true ); /* $this->addOption( 'cont-lang', 'The content language (en)', false, true ); */ @@ -118,7 +124,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; }