From: Tim Eulitz Date: Mon, 4 Feb 2019 15:32:52 +0000 (+0100) Subject: Add option for confirmation prompts on rollbacks X-Git-Tag: 1.34.0-rc.0~2939^2 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=be27ff2de885d163c0beb6f0b4bdd7bfc1913aa9;p=lhc%2Fweb%2Fwiklou.git 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 --- 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.