From be27ff2de885d163c0beb6f0b4bdd7bfc1913aa9 Mon Sep 17 00:00:00 2001 From: Tim Eulitz Date: Mon, 4 Feb 2019 16:32:52 +0100 Subject: [PATCH] Add option for confirmation prompts on rollbacks By default this option will be enabled in core, however, the option will be overriden by a separate commit to mediawiki-config where it will be disabled for all wikis for now. Bug: T215019 Change-Id: I73f060fc954abb6ec02238b16c8598dd6ebd4ae4 --- includes/DefaultSettings.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 00ccc960f3..31b0988b69 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -9020,6 +9020,15 @@ $wgActorTableSchemaMigrationStage = SCHEMA_COMPAT_OLD; */ $wgEnablePartialBlocks = false; +/** + * Enable confirmation prompt for rollback actions to prevent accidental rollbacks. + * May be disabled to reduce number of clicks needed to perform rollbacks. + * + * @since 1.33 + * @var bool + */ +$wgEnableRollbackConfirmationPrompt = true; + /** * Enable stats monitoring when Block Notices are displayed in different places around core * and extensions. -- 2.20.1