Merge "Add option for confirmation prompts on rollbacks"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 5 Feb 2019 13:29:52 +0000 (13:29 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 5 Feb 2019 13:29:52 +0000 (13:29 +0000)
includes/DefaultSettings.php

index 00ccc96..31b0988 100644 (file)
@@ -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.