Manual:$wgLogActionsHandlers
ロギング: $wgLogActionsHandlers | |
---|---|
$wgLogActions と同じですが、値はLogFormatterから派生したクラス名です。 |
|
導入されたバージョン: | 1.13.0 (r34826) |
除去されたバージョン: | 使用中 |
許容される値: | (PHP クラス名の配列) |
既定値: | 下記参照 |
その他の設定: アルファベット順 | 機能順 |
詳細
$wgLogActions
と同じですが、値はLogFormatterから派生したクラス名です。
MediaWiki での記録についての詳細情報は、Manual:Logging to Special:Log を参照してください。
MediaWiki バージョン: | ≧ 1.42 |
Starting with MediaWiki 1.42.0, ObjectFactory specifications are supported. This removes support for the (undocumented) alternative of specifying a callback.
既定値
MediaWiki バージョン: | ≧ 1.40 |
$wgLogActionsHandlers = [
'block/block' => BlockLogFormatter::class, // 1.25.0
'block/reblock' => BlockLogFormatter::class, // 1.25.0
'block/unblock' => BlockLogFormatter::class, // 1.25.0
'contentmodel/change' => ContentModelLogFormatter::class, // 1.26.0
'contentmodel/new' => ContentModelLogFormatter::class, // 1.27.0
'delete/delete' => DeleteLogFormatter::class, // 1.19.0
'delete/delete_redir' => DeleteLogFormatter::class, // 1.28.0
'delete/delete_redir2' => DeleteLogFormatter::class, // 1.36.0
'delete/event' => DeleteLogFormatter::class, // 1.19.0
'delete/restore' => DeleteLogFormatter::class, // 1.19.0
'delete/revision' => DeleteLogFormatter::class, // 1.19.0
'import/interwiki' => ImportLogFormatter::class, // 1.25.0
'import/upload' => ImportLogFormatter::class, // 1.25.0
'managetags/activate' => LogFormatter::class, // 1.25.0
'managetags/create' => LogFormatter::class, // 1.25.0
'managetags/deactivate' => LogFormatter::class, // 1.25.0
'managetags/delete' => LogFormatter::class, // 1.25.0
'merge/merge' => MergeLogFormatter::class, // 1.25.0
'move/move' => MoveLogFormatter::class, // 1.19.0
'move/move_redir' => MoveLogFormatter::class, // 1.19.0
'patrol/patrol' => PatrolLogFormatter::class, // 1.19.0
'patrol/autopatrol' => PatrolLogFormatter::class, // 1.27.0
'protect/modify' => ProtectLogFormatter::class, // 1.27.0
'protect/move_prot' => ProtectLogFormatter::class, // 1.26.0
'protect/protect' => ProtectLogFormatter::class, // 1.27.0
'protect/unprotect' => ProtectLogFormatter::class, // 1.27.0
'renameuser/renameuser' => RenameuserLogFormatter::class, // 1.40.0
'rights/autopromote' => RightsLogFormatter::class, // 1.21.0
'rights/rights' => RightsLogFormatter::class, // 1.21.0
'suppress/block' => BlockLogFormatter::class, // 1.25.0
'suppress/delete' => DeleteLogFormatter::class, // 1.19.0
'suppress/event' => DeleteLogFormatter::class, // 1.19.0
'suppress/reblock' => BlockLogFormatter::class, // 1.25.0
'suppress/revision' => DeleteLogFormatter::class, // 1.19.0
'tag/update' => TagLogFormatter::class, // 1.25.0
'upload/overwrite' => UploadLogFormatter::class, // 1.24.0, 1.25.0
'upload/revert' => UploadLogFormatter::class, // 1.24.0, 1.25.0
'upload/upload' => UploadLogFormatter::class, // 1.24.0, 1.25.0
];
MediaWiki バージョン: | 1.36 – 1.39 |
$wgLogActionsHandlers = [
'block/block' => BlockLogFormatter::class,
'block/reblock' => BlockLogFormatter::class,
'block/unblock' => BlockLogFormatter::class,
'contentmodel/change' => ContentModelLogFormatter::class,
'contentmodel/new' => ContentModelLogFormatter::class,
'delete/delete' => DeleteLogFormatter::class,
'delete/delete_redir' => DeleteLogFormatter::class,
'delete/delete_redir2' => DeleteLogFormatter::class,
'delete/event' => DeleteLogFormatter::class,
'delete/restore' => DeleteLogFormatter::class,
'delete/revision' => DeleteLogFormatter::class,
'import/interwiki' => ImportLogFormatter::class,
'import/upload' => ImportLogFormatter::class,
'managetags/activate' => LogFormatter::class,
'managetags/create' => LogFormatter::class,
'managetags/deactivate' => LogFormatter::class,
'managetags/delete' => LogFormatter::class,
'merge/merge' => MergeLogFormatter::class,
'move/move' => MoveLogFormatter::class,
'move/move_redir' => MoveLogFormatter::class,
'patrol/patrol' => PatrolLogFormatter::class,
'patrol/autopatrol' => PatrolLogFormatter::class,
'protect/modify' => ProtectLogFormatter::class,
'protect/move_prot' => ProtectLogFormatter::class,
'protect/protect' => ProtectLogFormatter::class,
'protect/unprotect' => ProtectLogFormatter::class,
'rights/autopromote' => RightsLogFormatter::class,
'rights/rights' => RightsLogFormatter::class,
'suppress/block' => BlockLogFormatter::class,
'suppress/delete' => DeleteLogFormatter::class,
'suppress/event' => DeleteLogFormatter::class,
'suppress/reblock' => BlockLogFormatter::class,
'suppress/revision' => DeleteLogFormatter::class,
'tag/update' => TagLogFormatter::class,
'upload/overwrite' => UploadLogFormatter::class,
'upload/revert' => UploadLogFormatter::class,
'upload/upload' => UploadLogFormatter::class,
];
MediaWiki バージョン: | 1.31 – 1.35 |
$wgLogActionsHandlers = [
'block/block' => BlockLogFormatter::class,
'block/reblock' => BlockLogFormatter::class,
'block/unblock' => BlockLogFormatter::class,
'contentmodel/change' => ContentModelLogFormatter::class,
'contentmodel/new' => ContentModelLogFormatter::class,
'delete/delete' => DeleteLogFormatter::class,
'delete/delete_redir' => DeleteLogFormatter::class,
'delete/event' => DeleteLogFormatter::class,
'delete/restore' => DeleteLogFormatter::class,
'delete/revision' => DeleteLogFormatter::class,
'import/interwiki' => ImportLogFormatter::class,
'import/upload' => ImportLogFormatter::class,
'managetags/activate' => LogFormatter::class,
'managetags/create' => LogFormatter::class,
'managetags/deactivate' => LogFormatter::class,
'managetags/delete' => LogFormatter::class,
'merge/merge' => MergeLogFormatter::class,
'move/move' => MoveLogFormatter::class,
'move/move_redir' => MoveLogFormatter::class,
'patrol/patrol' => PatrolLogFormatter::class,
'patrol/autopatrol' => PatrolLogFormatter::class,
'protect/modify' => ProtectLogFormatter::class,
'protect/move_prot' => ProtectLogFormatter::class,
'protect/protect' => ProtectLogFormatter::class,
'protect/unprotect' => ProtectLogFormatter::class,
'rights/autopromote' => RightsLogFormatter::class,
'rights/rights' => RightsLogFormatter::class,
'suppress/block' => BlockLogFormatter::class,
'suppress/delete' => DeleteLogFormatter::class,
'suppress/event' => DeleteLogFormatter::class,
'suppress/reblock' => BlockLogFormatter::class,
'suppress/revision' => DeleteLogFormatter::class,
'tag/update' => TagLogFormatter::class,
'upload/overwrite' => UploadLogFormatter::class,
'upload/revert' => UploadLogFormatter::class,
'upload/upload' => UploadLogFormatter::class,
];
MediaWiki バージョン: | 1.28 – 1.30 |
$wgLogActionsHandlers = [
'block/block' => 'BlockLogFormatter',
'block/reblock' => 'BlockLogFormatter',
'block/unblock' => 'BlockLogFormatter',
'contentmodel/change' => 'ContentModelLogFormatter',
'contentmodel/new' => 'ContentModelLogFormatter',
'delete/delete' => 'DeleteLogFormatter',
'delete/delete_redir' => 'DeleteLogFormatter',
'delete/event' => 'DeleteLogFormatter',
'delete/restore' => 'DeleteLogFormatter',
'delete/revision' => 'DeleteLogFormatter',
'import/interwiki' => 'ImportLogFormatter',
'import/upload' => 'ImportLogFormatter',
'managetags/activate' => 'LogFormatter',
'managetags/create' => 'LogFormatter',
'managetags/deactivate' => 'LogFormatter',
'managetags/delete' => 'LogFormatter',
'merge/merge' => 'MergeLogFormatter',
'move/move' => 'MoveLogFormatter',
'move/move_redir' => 'MoveLogFormatter',
'patrol/patrol' => 'PatrolLogFormatter',
'patrol/autopatrol' => 'PatrolLogFormatter',
'protect/modify' => 'ProtectLogFormatter',
'protect/move_prot' => 'ProtectLogFormatter',
'protect/protect' => 'ProtectLogFormatter',
'protect/unprotect' => 'ProtectLogFormatter',
'rights/autopromote' => 'RightsLogFormatter',
'rights/rights' => 'RightsLogFormatter',
'suppress/block' => 'BlockLogFormatter',
'suppress/delete' => 'DeleteLogFormatter',
'suppress/event' => 'DeleteLogFormatter',
'suppress/reblock' => 'BlockLogFormatter',
'suppress/revision' => 'DeleteLogFormatter',
'tag/update' => 'TagLogFormatter',
'upload/overwrite' => 'UploadLogFormatter',
'upload/revert' => 'UploadLogFormatter',
'upload/upload' => 'UploadLogFormatter',
];
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();