X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/18e12b0e123fc3e5f344682f884feabc12da0f5a..24cc34f964bbdbdc85a89b7f5d4f9ec4ebfe4754:/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;