From 6447ae9f2181519dd622da8e836d65d70a673b58 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 31 Oct 2011 17:30:47 +0000 Subject: [PATCH] Renamed annoying --iknowwhatimdoing param to --force (bug 32073) --- maintenance/update.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maintenance/update.php b/maintenance/update.php index c1849b1693..16561f56e9 100644 --- a/maintenance/update.php +++ b/maintenance/update.php @@ -43,7 +43,7 @@ class UpdateMediaWiki extends Maintenance { $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() { @@ -78,10 +78,10 @@ class UpdateMediaWiki extends Maintenance { 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' ); -- 2.20.1