$this->addArg( 'dbname', 'Name of database to create' );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
$this->addOption( 'syntax-only', 'Check for syntax validity only, skip code style warnings' );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_NONE;
}
}
}
- protected function getDbType() {
+ public function getDbType() {
global $wgUseNormalUser;
return ( isset( $wgUseNormalUser ) && $wgUseNormalUser ) ?
$this->addOption( 'online', 'Check against mediawiki.org hook documentation' );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_NONE;
}
$this->addArg( 'patch-name', 'Name of the patch file, either full path or in maintenance/archives' );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
$this->mDescription = "Rebuild search index table from scratch";
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
$this->addOption( "new", "New db prefix [0 for none]", true, true );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
$this->addArg( 'newdb', 'New DB name' );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
} while ( $affected > 0 );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
}
}
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}
}
* While we use database connection, this simple lie prevents useless --dbpass and
* --dbuser options from appearing in help message for this script.
*/
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_NONE;
}
$this->addOption( 'l', 'How long the searchindex and revision tables will be locked for', false, true );
}
- protected function getDbType() {
+ public function getDbType() {
return Maintenance::DB_ADMIN;
}