X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..9694d64a67dca98ce1d574852e7114daaff4727f:/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb?ds=inline 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;