From aa838b52de9624cf10abe92758c7bbb1416d3001 Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Thu, 4 Feb 2016 00:04:12 +0000 Subject: Try to fix some other broken-looking legacy maintenance script options Bug: T125748 Change-Id: I2004d9b1fd7389623a3f2da6682f9007efd679dc --- maintenance/storage/checkStorage.php | 1 + maintenance/storage/moveToExternal.php | 1 + 2 files changed, 2 insertions(+) (limited to 'maintenance/storage') 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'; -- cgit v1.2.3