From: Grant Slater Date: Sat, 25 Jan 2020 14:15:03 +0000 (+0000) Subject: mediawiki: tune abusefilter limits. Fix #353 X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/0ce945812edc79a9a404125f30ba3af49abe2bcc mediawiki: tune abusefilter limits. Fix #353 --- diff --git a/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb index 4c9216ac0..09f5814b8 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-AbuseFilter.inc.php.erb @@ -8,3 +8,8 @@ $wgGroupPermissions['*']['abusefilter-log'] = true; $wgGroupPermissions['sysop']['abusefilter-private'] = true; $wgGroupPermissions['sysop']['abusefilter-modify-restricted'] = true; $wgGroupPermissions['sysop']['abusefilter-revert'] = true; + +# Tune AbuseFilter limits +# https://github.com/openstreetmap/operations/issues/353 +$wgAbuseFilterEmergencyDisableThreshold['default'] = 0.30; # 30% +$wgAbuseFilterEmergencyDisableCount['default'] = 25;