X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d0a6dd09b9cd9d1c493c15adfd25b880f505e9af..912efbc1f99141d3e1540fc127496f80c81b310e:/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;