X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4ecdc40fe6d4dc5006c60aa7be68cca760985e8c..2f3e72b70cb401b318aafce1d1f7f22cc503eccc:/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb?ds=sidebyside 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 3a552eb10..111ff3d2f 100644 --- a/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb +++ b/cookbooks/mediawiki/templates/default/mw-ext-TitleBlacklist.inc.php.erb @@ -1,13 +1,17 @@ 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;