summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Klinkovský <j.l.k@gmx.com>2016-07-20 21:49:44 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-07-23 20:45:33 +0200
commit688fde9f793c9dbe85c561c00ee9b72ef97b1d6d (patch)
treeac03f9a6bedd93b5ff3110f243e10436268e27fb
parentf1c44a65db08b237e7d65ec243e050c2c8db49e6 (diff)
LocalSettings: add groups for AbuseFilter rules
-rw-r--r--LocalSettings.archlinux.org.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/LocalSettings.archlinux.org.php b/LocalSettings.archlinux.org.php
index 484ec190..6d432b0b 100644
--- a/LocalSettings.archlinux.org.php
+++ b/LocalSettings.archlinux.org.php
@@ -270,6 +270,17 @@ $wgGroupPermissions['sysop']['abusefilter-private'] = true;
$wgGroupPermissions['sysop']['abusefilter-modify-restricted'] = true;
$wgGroupPermissions['sysop']['abusefilter-revert'] = true;
+# filter groups
+$wgAbuseFilterValidGroups = array( 'default', 'proofed' );
+$wgAbuseFilterEmergencyDisableThreshold = array(
+ 'default' => 0.5,
+ 'proofed' => 1.0,
+);
+$wgAbuseFilterEmergencyDisableCount = array(
+ 'default' => 10,
+ 'proofed' => 65535,
+);
+
# CheckUser extension
wfLoadExtension( 'CheckUser' );
$wgGroupPermissions['sysop']['checkuser'] = true;