Manual:$wgLogRestrictions

From MediaWiki.org
Jump to: navigation, search

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
Other settings: Alphabetical | By function

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.phpManual:Rebuildrecentchanges.php) and should remain non-transcludable.

Example:

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

Default value:

 $wgLogRestrictions = array(
     'suppress' => 'suppressionlog'
 );
Log actionsManual:Log actions Events: BlockingManual:Block and unblockImportingManual:Importing revisionsMerging historiesManual:Merging historiesPage deletionManual:Page deletionPage movingManual:Page movingPage restorationManual:Page restorationPatrollingManual:PatrollingProtectionManual:ProtectionRenaming a userExtension:RenameuserRevisionDeleteManual:RevisionDeleteThankingExtension:ThanksUploadingManual:UploadingUser creationManual:User creationUser rights managementManual:User rights

Settings: $wgLogTypesManual:$wgLogTypes$wgLogActionsManual:$wgLogActions$wgLogNamesManual:$wgLogNames$wgLogHeadersManual:$wgLogHeaders$wgLogActionsHandlersManual:$wgLogActionsHandlers$wgLogRestrictionsManual:$wgLogRestrictions$wgFilterLogTypesManual:$wgFilterLogTypes$wgActionFilteredLogsManual:$wgActionFilteredLogs

Miscellaneous: Logging to Special:LogManual:Logging to Special:LogAPIAPI:Logeventslogging tableManual:Logging tableNull revisionManual:Null revision