From 592060e057ddf50c8bb0e507652deb53e18f3039 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 28 Dec 2019 07:55:13 +0000 Subject: [PATCH] mediawiki: Pass --quick when running update.php By default update.php will pause for 5 seconds before doing anything to remind the user to make a backup before the script runs. Since we're running it in a separate process where the user won't get that opportunity anyways, skip the 5 second delay by passing `--quick`. Reviewed-by: Sunil Mohan Adapa --- actions/mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/mediawiki b/actions/mediawiki index 4f0e45a0c..c12a5eaa9 100755 --- a/actions/mediawiki +++ b/actions/mediawiki @@ -110,7 +110,7 @@ def subcommand_change_password(arguments): def subcommand_update(_): """Run update.php maintenance script when version upgrades happen.""" update_script = os.path.join(MAINTENANCE_SCRIPTS_DIR, 'update.php') - subprocess.check_call(['php', update_script]) + subprocess.check_call(['php', update_script, '--quick']) def subcommand_public_registrations(arguments):