]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb
Add ulimit increase documentation to CONTRIBUTING.md
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-SpamBlacklist.inc.php.erb
index da2fb70ee721aac969a8a105ebd3c7c0870d0c2c..721ea398e4812c988f0c035ab7bf27a0ec77a2a0 100644 (file)
@@ -5,3 +5,7 @@ wfLoadExtension( 'SpamBlacklist' );
 $wgSpamBlacklistFiles = array(
        'https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1'
 );
+# log hits, but allow only administrators to view them
+$wgLogSpamBlacklistHits = true;
+$wgGroupPermissions['user']['spamblacklistlog'] = false;
+$wgGroupPermissions['sysop']['spamblacklistlog'] = true;