]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb
mediawiki: increase wgHTTPTimeout
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-SpamBlacklist.inc.php.erb
index f9178ad86de4d843fb70603633fc3f2b1be00ecc..721ea398e4812c988f0c035ab7bf27a0ec77a2a0 100644 (file)
@@ -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;