]> git.openstreetmap.org Git - chef.git/blob - cookbooks/mediawiki/templates/default/mw-ext-SpamBlacklist.inc.php.erb
donate: redirect to support.osm.org
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-SpamBlacklist.inc.php.erb
1 <?php
2 # DO NOT EDIT - This file is being maintained by Chef
3 ini_set( 'pcre.backtrack_limit', '16M' );
4 wfLoadExtension( 'SpamBlacklist' );
5 $wgSpamBlacklistFiles = array(
6         'https://meta.wikimedia.org/w/index.php?title=Spam_blacklist&action=raw&sb_ver=1'
7 );
8 # log hits, but allow only administrators to view them
9 $wgLogSpamBlacklistHits = true;
10 $wgGroupPermissions['user']['spamblacklistlog'] = false;
11 $wgGroupPermissions['sysop']['spamblacklistlog'] = true;