* (bug 30062) Add $wgDBprefix option to cli installer
authorSam Reed <reedy@users.mediawiki.org>
Fri, 11 Nov 2011 00:05:04 +0000 (00:05 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Fri, 11 Nov 2011 00:05:04 +0000 (00:05 +0000)
Patch by Grunny

maintenance/install.php

index dba4340..9a408aa 100644 (file)
@@ -51,6 +51,7 @@ class CommandLineInstaller extends Maintenance {
                $this->addOption( 'dbport', 'The database port; only for PostgreSQL (5432)', false, true );
                $this->addOption( 'dbname', 'The database name (my_wiki)', false, true );
                $this->addOption( 'dbpath', 'The path for the SQLite DB (/var/data)', false, true );
+               $this->addOption( 'dbprefix', 'Optional database table name prefix', false, true );
                $this->addOption( 'installdbuser', 'The user to use for installing (root)', false, true );
                $this->addOption( 'installdbpass', 'The pasword for the DB user to install as.', false, true );
                $this->addOption( 'dbuser', 'The user to use for normal operations (wikiuser)', false, true );