Open main menu

Manual:$wgLogRestrictions

Other languages:
English • ‎polski • ‎русский • ‎中文 • ‎日本語
Special pages: $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

DetailsEdit

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 valueEdit

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