<?php
# DO NOT EDIT - This file is being maintained by Chef
-require_once( $IP.'/extensions/TitleBlacklist/TitleBlacklist.php' );
+wfLoadExtension( 'TitleBlacklist' );
$wgTitleBlacklistSources = array(
array(
- 'type' => TBLSRC_LOCALPAGE,
+ 'type' => 'localpage',
'src' => 'MediaWiki:Titleblacklist',
),
array(
- 'type' => TBLSRC_URL,
- 'src' => 'http://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
+ 'type' => 'url',
+ 'src' => 'https://meta.wikimedia.org/w/index.php?title=Title_blacklist&action=raw',
),
);
+# log hits, but allow only administrators to view them
+$wgTitleBlacklistLogHits = true;
+$wgGroupPermissions['user']['titleblacklistlog'] = false;
+$wgGroupPermissions['sysop']['titleblacklistlog'] = true;