diff options
author | Sam Wilson <sam@samwilson.id.au> | 2023-11-21 20:06:47 +0800 |
---|---|---|
committer | Sam Wilson <sam@samwilson.id.au> | 2023-11-21 20:06:47 +0800 |
commit | d670dd7746d2c5c5160bc0683518b522f475c10c (patch) | |
tree | a30034d0e0cca063deb7f7aa0aec2d3ddea3658a /maintenance/install.php | |
parent | 4d0269b87f33a6fc64bb9ebbec53228451f13d81 (diff) | |
download | mediawikicore-d670dd7746d2c5c5160bc0683518b522f475c10c.tar.gz mediawikicore-d670dd7746d2c5c5160bc0683518b522f475c10c.zip |
maintenance: Remove commented-out code from install.php
These commented-out options have been pending for many years, and
there doesn't seem to be a plan to make them work. They can easily
be re-added if required.
Change-Id: I6aa9bfe4509062b0f204800fcee70ba767fbc517
Diffstat (limited to 'maintenance/install.php')
-rw-r--r-- | maintenance/install.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/maintenance/install.php b/maintenance/install.php index 889048de7556..5b5985dfc4b9 100644 --- a/maintenance/install.php +++ b/maintenance/install.php @@ -56,7 +56,6 @@ class CommandLineInstaller extends Maintenance { false, true ); - /* $this->addOption( 'email', 'The email for the wiki administrator', false, true ); */ $this->addOption( 'scriptpath', 'The relative path of the wiki in the web server (/' . basename( dirname( __DIR__ ) ) . ')', @@ -71,7 +70,6 @@ class CommandLineInstaller extends Maintenance { ); $this->addOption( 'lang', 'The language to use (en)', false, true ); - /* $this->addOption( 'cont-lang', 'The content language (en)', false, true ); */ $this->addOption( 'dbtype', 'The type of database (mysql)', false, true ); $this->addOption( 'dbserver', 'The database host (localhost)', false, true ); @@ -93,10 +91,7 @@ class CommandLineInstaller extends Maintenance { $this->addOption( 'confpath', "Path to write LocalSettings.php to ($IP)", false, true ); $this->addOption( 'dbschema', 'The schema for the MediaWiki DB in ' . 'PostgreSQL (mediawiki)', false, true ); - /* - $this->addOption( 'namespace', 'The project namespace (same as the "name" argument)', - false, true ); - */ + $this->addOption( 'env-checks', "Run environment checks only, don't change anything" ); $this->addOption( 'with-extensions', "Detect and include extensions" ); |