]> git.openstreetmap.org Git - chef.git/commitdiff
Mediawiki: additional words in SpamRegex
authorGrant Slater <git@firefishy.com>
Tue, 29 Dec 2015 10:52:31 +0000 (10:52 +0000)
committerGrant Slater <git@firefishy.com>
Tue, 29 Dec 2015 10:52:31 +0000 (10:52 +0000)
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 0895fb052f22ac1ed1b200d650bed68da768e6ba..b18de38247434a7c327dc12bb7f86f7fb6f2dcea 100644 (file)
@@ -215,7 +215,7 @@ $wgEmailConfirmToEdit = true;
 $wgAutoblockExpiry = 7776000; // 90 days
 
 # Spam filter regex
-$wgSpamRegex = '/\b(epson|brother|canon|hp|kodak|lexmark|mcafee|norton|avira|kaspersky|avg|avast|microsoft|outlook|printer)( helpline|( customer| technical| tech)?| customer service)? (support number|phone number)\b/i';
+$wgSpamRegex = '/\b(epson|brother|canon|hp|kodak|lexmark|mcafee|norton|avira|kaspersky|avg|avast|microsoft|outlook|printer|quickbooks( payroll)?)( helpline| customer|( technical| tech)| customer service)? (support number|phone number|support phone number|care number)\b/i';
 
 #Autopromote users to autoconfirmed
 $wgAutoConfirmAge = 345600; // 4 days