X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..45c0862be818c87ac9825ed36a7a2e9d3a1aab7c:/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb diff --git a/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb index da2fb70ee..721ea398e 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb @@ -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;