Manual:$wgLogRestrictions
Appearance
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 |
Other settings: Alphabetical | By function |
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', ];