Open main menu

Manual:$wgActionFilteredLogs

This page is a translated version of the page Manual:$wgActionFilteredLogs and the translation is 100% complete.

Other languages:
English • ‎dansk • ‎français • ‎polski • ‎русский • ‎中文 • ‎日本語
特別ページ: $wgActionFilteredLogs
操作の種類ごとに絞り込み可能なログの種類一覧
導入されたバージョン:1.27.0 (git #I6a61175)
除去されたバージョン:使用中
許容される値:(配列の配列)
既定値:下記参照

詳細

これによりSpecial:Logにおけるログ操作に基づきログを絞り込めます。版指定削除の操作に基づく削除ログを絞り込むサンプルはこのリンク先をご参照ください。配列キーごとにログタイプが割り当てられ、サブタイプlog_actionの配列に相当する操作グループと対応させる配列を設定します。メッセージキーの形式は次の通りです。MediaWiki:log-action-filter-$type-$action

カスタムの記録の種類を用いる拡張機能を、この配列に追加する場合があります。

既定値

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' ],
	],
];

関連項目