Manual:$wgLogRestrictions

Category:MediaWiki configuration settings#LogRestrictionsCategory:MediaWiki configuration settings introduced in version 1.13.0#LogRestrictionsCategory:MediaWiki configuration settings still in use#LogRestrictionsCategory:Logging variables#LogRestrictions
Logging: $wgLogRestrictions
Restricts log access to those who have a certain right.
Introduced in version:1.13.0 (r32685)
Removed in version:Still in use
Allowed values:(array)
Default value:see below

Details

This restricts log access to those who have a certain right. Users without this will not see it in the option menu and can not view it. Restricted logs will no longer be added to recent changes (if you need to get rid of old ones, try rebuildrecentchanges.php) and should remain non-transcludable.

Example:

$wgLogRestrictions["log's name"] = 'permission to access';

Default value

$wgLogRestrictions = [ 'suppress' => 'suppressionlog', ];
Category:Logging variables Category:MediaWiki configuration settings Category:MediaWiki configuration settings introduced in version 1.13.0 Category:MediaWiki configuration settings still in use