X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0a6dd09b9cd9d1c493c15adfd25b880f505e9af..a7de9e4abe76f8cd647eea949f99687fcc19254c:/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 f9178ad86..721ea398e 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb @@ -3,5 +3,9 @@ ini_set( 'pcre.backtrack_limit', '16M' ); wfLoadExtension( 'SpamBlacklist' ); $wgSpamBlacklistFiles = array( - 'http://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1' + '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;