X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e48fab1439736d27ef70d0b56b09c71215fe7d27..a7de9e4abe76f8cd647eea949f99687fcc19254c:/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb diff --git a/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb index 7f1dc8894..111ff3d2f 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb @@ -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;