手册:$wgLogRestrictions

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgLogRestrictions and the translation is 50% complete.
Other languages:
English • ‎polski • ‎русский • ‎中文 • ‎日本語
特殊页面: $wgLogRestrictions
Restricts log access to those who have a certain right.
引进版本:1.13.0 (r32685)
移除版本:仍在使用
允许的值:(数组)
默认值:参见下方

详情

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.

例子:

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

Default value

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