X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Finstall.php;h=1dd19094976773245fb112f41b25a38c6ae6d2ec;hb=670cd4802ba836da76ba3de9467faeb07a02d4fc;hp=438e9dc4789f45c876c12231f1e9b828cd90edc9;hpb=967a96e7fa5910f8fc451590decb381dbfb481ba;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/install.php b/maintenance/install.php index 438e9dc478..1dd1909497 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -90,6 +90,10 @@ class CommandLineInstaller extends Maintenance { $this->addOption( 'env-checks', "Run environment checks only, don't change anything" ); $this->addOption( 'with-extensions', "Detect and include extensions" ); + $this->addOption( 'extensions', 'Comma-separated list of extensions to install', + false, true, false, true ); + $this->addOption( 'skins', 'Comma-separated list of skins to install (default: all)', + false, true, false, true ); } public function getDbType() { @@ -125,6 +129,11 @@ class CommandLineInstaller extends Maintenance { $installer->execute(); $installer->writeConfigurationFile( $this->getOption( 'confpath', $IP ) ); } + $installer->showMessage( + 'config-install-success', + $installer->getVar( 'wgServer' ), + $installer->getVar( 'wgScriptPath' ) + ); } private function setDbPassOption() {