]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb
Merge remote-tracking branch 'github/pull/577'
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-TitleBlacklist.inc.php.erb
index 7f1dc889409e33ad485e3a02e483c8a20cf39e38..111ff3d2fbefd38c3eb66273e15b5f066963ade6 100644 (file)
@@ -11,3 +11,7 @@ $wgTitleBlacklistSources = array(
     '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;