Open main menu
This page is a translated version of the page Manual:$wgActionFilteredLogs and the translation is 67% complete.

Other languages:
English • ‎dansk • ‎français • ‎polski • ‎русский • ‎中文 • ‎日本語
特殊页面: $wgActionFilteredLogs
List of log types that can be filtered by action types
引进版本:1.27.0 (git #I6a61175)
移除版本:仍在使用
允许的值:(数组中的数组)
默认值:参见下方

详情

This allows logs to be filtered by log actions in Special:Log. See this link for an example to filter delete logs by revision deletion actions. Each array key is a log type and it should be set to an array with the action groups which should be an array of log_action subtypes. The message keys are in the format: MediaWiki:log-action-filter-$type-$action.

Extensions with custom log types may add to this array.

默认值

MediaWiki版本: 1.33
$wgActionFilteredLogs = [
	'block' => [
		'block' => [ 'block' ],
		'reblock' => [ 'reblock' ],
		'unblock' => [ 'unblock' ],
	],
	'contentmodel' => [
		'change' => [ 'change' ],
		'new' => [ 'new' ],
	],
	'delete' => [
		'delete' => [ 'delete' ],
		'delete_redir' => [ 'delete_redir' ],
		'restore' => [ 'restore' ],
		'event' => [ 'event' ],
		'revision' => [ 'revision' ],
	],
	'import' => [
		'interwiki' => [ 'interwiki' ],
		'upload' => [ 'upload' ],
	],
	'managetags' => [
		'create' => [ 'create' ],
		'delete' => [ 'delete' ],
		'activate' => [ 'activate' ],
		'deactivate' => [ 'deactivate' ],
	],
	'move' => [
		'move' => [ 'move' ],
		'move_redir' => [ 'move_redir' ],
	],
	'newusers' => [
		'create' => [ 'create', 'newusers' ],
		'create2' => [ 'create2' ],
		'autocreate' => [ 'autocreate' ],
		'byemail' => [ 'byemail' ],
	],
	'protect' => [
		'protect' => [ 'protect' ],
		'modify' => [ 'modify' ],
		'unprotect' => [ 'unprotect' ],
		'move_prot' => [ 'move_prot' ],
	],
	'rights' => [
		'rights' => [ 'rights' ],
		'autopromote' => [ 'autopromote' ],
	],
	'suppress' => [
		'event' => [ 'event' ],
		'revision' => [ 'revision' ],
		'delete' => [ 'delete' ],
		'block' => [ 'block' ],
		'reblock' => [ 'reblock' ],
	],
	'upload' => [
		'upload' => [ 'upload' ],
		'overwrite' => [ 'overwrite' ],
		'revert' => [ 'revert' ],
	],
];

参见