Manual:$wgLogActionsHandlers

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgLogActionsHandlers and the translation is 100% complete.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский
Special pages: $wgLogActionsHandlers
$wgLogActionsManual:$wgLogActions と同様だが、値はコールバック関数である。
導入されたバージョン: 1.13.0 (r34826)
除去されたバージョン: 使用中
可能な値: (コールバック関数の配列)
既定値: array()
他の設定: アルファベット順 | 機能順

詳細[edit]

$wgLogActionsManual:$wgLogActions と同様ですが、値がコールバック関数である点が異なります。

MediaWiki での記録についての詳細情報は、Manual:Logging to Special:Log を参照してください。

Default value[edit]

MediaWiki バージョン: 1.28 – 1.29
/**
 * The same as above, but here values are names of classes,
 * not messages.
 * @see LogPage::actionText
 * @see LogFormatter
 */
$wgLogActionsHandlers = [
	'block/block' => 'BlockLogFormatter',                // 1.25.0
	'block/reblock' => 'BlockLogFormatter',              // 1.25.0
	'block/unblock' => 'BlockLogFormatter',              // 1.25.0
	'contentmodel/change' => 'ContentModelLogFormatter', // 1.26.0
	'contentmodel/new' => 'ContentModelLogFormatter',    // 1.27.0
	'delete/delete' => 'DeleteLogFormatter',             // 1.19.0
	'delete/delete_redir' => 'DeleteLogFormatter',       // 1.28.0
	'delete/event' => 'DeleteLogFormatter',              // 1.19.0
	'delete/restore' => 'DeleteLogFormatter',            // 1.19.0
	'delete/revision' => 'DeleteLogFormatter',           // 1.19.0
	'import/interwiki' => 'ImportLogFormatter',          // 1.25.0
	'import/upload' => 'ImportLogFormatter',             // 1.25.0
	'managetags/activate' => 'LogFormatter',             // 1.25.0
	'managetags/create' => 'LogFormatter',               // 1.25.0
	'managetags/deactivate' => 'LogFormatter',           // 1.25.0
	'managetags/delete' => 'LogFormatter',               // 1.25.0
	'merge/merge' => 'MergeLogFormatter',                // 1.25.0
	'move/move' => 'MoveLogFormatter',                   // 1.19.0
	'move/move_redir' => 'MoveLogFormatter',             // 1.19.0
	'patrol/patrol' => 'PatrolLogFormatter',             // 1.19.0
	'patrol/autopatrol' => 'PatrolLogFormatter',         // 1.27.0
	'protect/modify' => 'ProtectLogFormatter',           // 1.27.0
	'protect/move_prot' => 'ProtectLogFormatter',        // 1.26.0
	'protect/protect' => 'ProtectLogFormatter',          // 1.27.0
	'protect/unprotect' => 'ProtectLogFormatter',        // 1.27.0
	'rights/autopromote' => 'RightsLogFormatter',        // 1.21.0
	'rights/rights' => 'RightsLogFormatter',             // 1.21.0
	'suppress/block' => 'BlockLogFormatter',             // 1.25.0
	'suppress/delete' => 'DeleteLogFormatter',           // 1.19.0
	'suppress/event' => 'DeleteLogFormatter',            // 1.19.0
	'suppress/reblock' => 'BlockLogFormatter',           // 1.25.0
	'suppress/revision' => 'DeleteLogFormatter',         // 1.19.0
	'tag/update' => 'TagLogFormatter',                   // 1.25.0
	'upload/overwrite' => 'UploadLogFormatter',          // 1.24.0, 1.25.0
	'upload/revert' => 'UploadLogFormatter',             // 1.24.0, 1.25.0
	'upload/upload' => 'UploadLogFormatter',             // 1.24.0, 1.25.0
];


MediaWiki バージョン: 1.25
$wgLogActionsHandlers = array(
	'move/move' => 'MoveLogFormatter',
	'move/move_redir' => 'MoveLogFormatter',
	'delete/delete' => 'DeleteLogFormatter',
	'delete/restore' => 'DeleteLogFormatter',
	'delete/revision' => 'DeleteLogFormatter',
	'delete/event' => 'DeleteLogFormatter',
	'suppress/revision' => 'DeleteLogFormatter',
	'suppress/event' => 'DeleteLogFormatter',
	'suppress/delete' => 'DeleteLogFormatter',
	'patrol/patrol' => 'PatrolLogFormatter',
	'rights/rights' => 'RightsLogFormatter',
	'rights/autopromote' => 'RightsLogFormatter',
	'upload/upload' => 'UploadLogFormatter',
	'upload/overwrite' => 'UploadLogFormatter',
	'upload/revert' => 'UploadLogFormatter',
	'merge/merge' => 'MergeLogFormatter',
	'tag/update' => 'TagLogFormatter',
	'managetags/create' => 'LogFormatter',
	'managetags/delete' => 'LogFormatter',
	'managetags/activate' => 'LogFormatter',
	'managetags/deactivate' => 'LogFormatter',
	'block/block' => 'BlockLogFormatter',
	'block/unblock' => 'BlockLogFormatter',
	'block/reblock' => 'BlockLogFormatter',
	'suppress/block' => 'BlockLogFormatter',
	'suppress/reblock' => 'BlockLogFormatter',
	'import/upload' => 'LogFormatter',
	'import/interwiki' => 'LogFormatter',
);


MediaWiki バージョン: 1.24
$wgLogActionsHandlers = array(
	'move/move' => 'MoveLogFormatter',
	'move/move_redir' => 'MoveLogFormatter',
	'delete/delete' => 'DeleteLogFormatter',
	'delete/restore' => 'DeleteLogFormatter',
	'delete/revision' => 'DeleteLogFormatter',
	'delete/event' => 'DeleteLogFormatter',
	'suppress/revision' => 'DeleteLogFormatter',
	'suppress/event' => 'DeleteLogFormatter',
	'suppress/delete' => 'DeleteLogFormatter',
	'patrol/patrol' => 'PatrolLogFormatter',
	'rights/rights' => 'RightsLogFormatter',
	'rights/autopromote' => 'RightsLogFormatter',
	'upload/upload' => 'LogFormatter',
	'upload/overwrite' => 'LogFormatter',
	'upload/revert' => 'LogFormatter',
);


MediaWiki バージョン: 1.19
$wgLogActionsHandlers = array(
	// move, move_redir
	'move/*'            => 'MoveLogFormatter',
	// delete, restore, revision, event
	'delete/*'          => 'DeleteLogFormatter',
	'suppress/revision' => 'DeleteLogFormatter',
	'suppress/event'    => 'DeleteLogFormatter',
	'suppress/delete'   => 'DeleteLogFormatter',
	'patrol/patrol'     => 'PatrolLogFormatter',
);


MediaWiki バージョン: 1.13 – 1.18
$wgLogActionsHandlers = array();
Log actionsManual:Log actions イベント: ブロックManual:Block and unblock取り込みManual:Importing revisions履歴の統合Manual:Merging historiesページの削除Manual:Page deletionページの移動Manual:Page movingページの復元Manual:Page restoration巡回Manual:Patrolling保護Manual:Protection利用者名の変更Extension:Renameuser版指定削除Manual:RevisionDelete感謝Extension:ThanksアップロードManual:Uploading利用者アカウントの作成Manual:User creation利用者権限の管理Manual:User rights利用者の統合Manual:Merging users

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

その他: Logging to Special:LogManual:Logging to Special:LogAPIAPI:Logeventslogging テーブルManual:Logging table空の版Manual:Null revision