$this->addOption( 'quick', 'Skip 5 second countdown before starting' );
$this->addOption( 'doshared', 'Also update shared tables' );
$this->addOption( 'nopurge', 'Do not purge the objectcache table after updates' );
- $this->addOption( 'iknowwhatimdoing', 'Override when $wgMiserMode disables this script' );
+ $this->addOption( 'force', 'Override when $wgMiserMode disables this script' );
}
function getDbType() {
function execute() {
global $wgVersion, $wgTitle, $wgLang, $wgMiserMode;
- if( $wgMiserMode && !$this->hasOption( 'iknowwhatimdoing' ) ) {
+ if( $wgMiserMode && !$this->hasOption( 'force' ) ) {
$this->error( "Do not run update.php on this wiki. If you're seeing this you should\n"
. "probably ask for some help in performing your schema updates.\n\n"
- . "If you know what you are doing, you can continue with --iknowwhatimdoing", true );
+ . "If you know what you are doing, you can continue with --force", true );
}
$wgLang = Language::factory( 'en' );