Index: trunk/phase3/maintenance/update.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | $this->addOption( 'quick', 'Skip 5 second countdown before starting' ); |
45 | 45 | $this->addOption( 'doshared', 'Also update shared tables' ); |
46 | 46 | $this->addOption( 'nopurge', 'Do not purge the objectcache table after updates' ); |
47 | | - $this->addOption( 'iknowwhatimdoing', 'Override when $wgMiserMode disables this script' ); |
| 47 | + $this->addOption( 'force', 'Override when $wgMiserMode disables this script' ); |
48 | 48 | } |
49 | 49 | |
50 | 50 | function getDbType() { |
— | — | @@ -78,10 +78,10 @@ |
79 | 79 | function execute() { |
80 | 80 | global $wgVersion, $wgTitle, $wgLang, $wgMiserMode; |
81 | 81 | |
82 | | - if( $wgMiserMode && !$this->hasOption( 'iknowwhatimdoing' ) ) { |
| 82 | + if( $wgMiserMode && !$this->hasOption( 'force' ) ) { |
83 | 83 | $this->error( "Do not run update.php on this wiki. If you're seeing this you should\n" |
84 | 84 | . "probably ask for some help in performing your schema updates.\n\n" |
85 | | - . "If you know what you are doing, you can continue with --iknowwhatimdoing", true ); |
| 85 | + . "If you know what you are doing, you can continue with --force", true ); |
86 | 86 | } |
87 | 87 | |
88 | 88 | $wgLang = Language::factory( 'en' ); |