Manual:$wgLogActionsHandlers

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Manual:$wgLogActionsHandlers and the translation is 83% 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()

Другие настройки: По алфавиту | По функциональности

Подробнее

То же, что и в $wgLogActionsManual:$wgLogActions, но значения содержат функции-обработчики.

See Manual:Logging to Special:Log for more information about logging in MediaWiki.

Default value

Версии 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 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 rightsMerging usersManual:Merging users

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