Manual:$wgLogRestrictions

From mediawiki.org
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[edit]

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[edit]

$wgLogRestrictions = [ 'suppress' => 'suppressionlog', ];