aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/storage
diff options
context:
space:
mode:
authorAlex Monk <krenair@gmail.com>2016-02-04 00:04:12 +0000
committerAlex Monk <krenair@gmail.com>2016-03-12 00:47:36 +0000
commitaa838b52de9624cf10abe92758c7bbb1416d3001 (patch)
treeff4b2b678210896471c7fa2262bec420d7cbdeec /maintenance/storage
parentb4d5a97c3bdef95bf669692509771aab7034b5dd (diff)
downloadmediawikicore-aa838b52de9624cf10abe92758c7bbb1416d3001.tar.gz
mediawikicore-aa838b52de9624cf10abe92758c7bbb1416d3001.zip
Try to fix some other broken-looking legacy maintenance script options
Bug: T125748 Change-Id: I2004d9b1fd7389623a3f2da6682f9007efd679dc
Diffstat (limited to 'maintenance/storage')
-rw-r--r--maintenance/storage/checkStorage.php1
-rw-r--r--maintenance/storage/moveToExternal.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/maintenance/storage/checkStorage.php b/maintenance/storage/checkStorage.php
index 9da39099a87f..d69e5b94135c 100644
--- a/maintenance/storage/checkStorage.php
+++ b/maintenance/storage/checkStorage.php
@@ -22,6 +22,7 @@
*/
if ( !defined( 'MEDIAWIKI' ) ) {
+ $optionsWithoutArgs = [ 'fix' ];
require_once __DIR__ . '/../commandLine.inc';
$cs = new CheckStorage;
diff --git a/maintenance/storage/moveToExternal.php b/maintenance/storage/moveToExternal.php
index 776b72fe4103..80dc7f96202c 100644
--- a/maintenance/storage/moveToExternal.php
+++ b/maintenance/storage/moveToExternal.php
@@ -24,6 +24,7 @@
define( 'REPORTING_INTERVAL', 1 );
if ( !defined( 'MEDIAWIKI' ) ) {
+ $optionsWithArgs = [ 'e', 's' ];
require_once __DIR__ . '/../commandLine.inc';
require_once 'resolveStubs.php';