Manual:$wgLogActions: Difference between revisions
Content deleted Content added
Tag: 2017 source edit |
translation tweaks |
||
Line 1: | Line 1: | ||
<languages /> |
<languages /> |
||
{{ |
{{SettingSummary |
||
|name=LogActions |
|name=LogActions |
||
|version_min=1.7.0 |
|version_min=1.7.0 |
||
Line 38: | Line 38: | ||
</source> |
</source> |
||
{{collapse top|title=Older versions}} |
{{collapse top|title=<translate>Older versions</translate>}} |
||
{{MW 1.26}} |
{{MW 1.26}} |
||
Line 158: | Line 158: | ||
<translate> |
<translate> |
||
== See also == <!--T:10--> |
== See also == <!--T:10--> |
||
</translate> |
</translate> |
||
* {{ll|Manual:$wgLogActionsHandlers|$wgLogActionsHandlers}} |
* {{ll|Manual:$wgLogActionsHandlers|$wgLogActionsHandlers}} |
||
{{ |
{{Log events}} |
Revision as of 10:15, 11 November 2018
Special pages: $wgLogActions | |
---|---|
Lists the message key string for formatting individual events of each type and action when listed in the logs. |
|
Introduced in version: | 1.7.0 (r14373) |
Removed in version: | Still in use |
Allowed values: | array of strings |
Default value: | see below |
Other settings: Alphabetical | By function |
Details
Lists the message key string for formatting individual events of each type and action when listed in the logs. Extensions with custom log types may add to this array. Same as $wgLogActionsHandlers but without function callbacks as values.
See Manual:Logging to Special:Log for more information about logging in MediaWiki.
Default value
MediaWiki version: | ≥ 1.27 |
/**
* Lists the message key string for formatting individual events of each
* type and action when listed in the logs.
*
* Extensions with custom log types may add to this array.
*/
$wgLogActions = [];
Older versions | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
$wgLogActions = array(
'protect/modify' => 'modifiedarticleprotection',
'protect/protect' => 'protectedarticle',
'protect/unprotect' => 'unprotectedarticle',
);
$wgLogActions = array(
'protect/protect' => 'protectedarticle',
'protect/modify' => 'modifiedarticleprotection',
'protect/unprotect' => 'unprotectedarticle',
'protect/move_prot' => 'movedarticleprotection',
);
$wgLogActions = array(
'block/block' => 'blocklogentry',
'block/unblock' => 'unblocklogentry',
'block/reblock' => 'reblock-logentry',
'protect/protect' => 'protectedarticle',
'protect/modify' => 'modifiedarticleprotection',
'protect/unprotect' => 'unprotectedarticle',
'protect/move_prot' => 'movedarticleprotection',
'import/upload' => 'import-logentry-upload',
'import/interwiki' => 'import-logentry-interwiki',
'merge/merge' => 'pagemerge-logentry',
'suppress/block' => 'blocklogentry',
'suppress/reblock' => 'reblock-logentry',
);
$wgLogActions = array(
'block/block' => 'blocklogentry',
'block/unblock' => 'unblocklogentry',
'block/reblock' => 'reblock-logentry',
'protect/protect' => 'protectedarticle',
'protect/modify' => 'modifiedarticleprotection',
'protect/unprotect' => 'unprotectedarticle',
'protect/move_prot' => 'movedarticleprotection',
'upload/upload' => 'uploadedimage',
'upload/overwrite' => 'overwroteimage',
'upload/revert' => 'uploadedimage',
'import/upload' => 'import-logentry-upload',
'import/interwiki' => 'import-logentry-interwiki',
'merge/merge' => 'pagemerge-logentry',
'suppress/block' => 'blocklogentry',
'suppress/reblock' => 'reblock-logentry',
);
$wgLogActions = array(
'block/block' => 'blocklogentry',
'block/unblock' => 'unblocklogentry',
'block/reblock' => 'reblock-logentry',
'protect/protect' => 'protectedarticle',
'protect/modify' => 'modifiedarticleprotection',
'protect/unprotect' => 'unprotectedarticle',
'protect/move_prot' => 'movedarticleprotection',
'rights/rights' => 'rightslogentry',
'rights/autopromote' => 'rightslogentry-autopromote',
'upload/upload' => 'uploadedimage',
'upload/overwrite' => 'overwroteimage',
'upload/revert' => 'uploadedimage',
'import/upload' => 'import-logentry-upload',
'import/interwiki' => 'import-logentry-interwiki',
'merge/merge' => 'pagemerge-logentry',
'suppress/block' => 'blocklogentry',
'suppress/reblock' => 'reblock-logentry',
);
$wgLogActions = array(
'block/block' => 'blocklogentry', // 1.7.0
'block/unblock' => 'unblocklogentry', // 1.7.0
'block/reblock' => 'reblock-logentry', // 1.18.0
'protect/protect' => 'protectedarticle', // 1.7.0
'protect/modify' => 'modifiedarticleprotection', // 1.11.0
'protect/unprotect' => 'unprotectedarticle', // 1.7.0
'protect/move_prot' => 'movedarticleprotection', // 1.18.0
'rights/rights' => 'rightslogentry', // 1.7.0
'rights/autopromote' => 'rightslogentry-autopromote', // 1.18.0
'delete/delete' => 'deletedarticle', // 1.7.0
'delete/restore' => 'undeletedarticle', // 1.7.0
'delete/revision' => 'revdelete-logentry', // 1.7.0
'delete/event' => 'logdelete-logentry', // 1.18.0
'upload/upload' => 'uploadedimage', // 1.7.0
'upload/overwrite' => 'overwroteimage', // 1.11.0
'upload/revert' => 'uploadedimage', // 1.7.0
'move/move' => '1movedto2', // 1.7.0
'move/move_redir' => '1movedto2_redir', // 1.7.0
'import/upload' => 'import-logentry-upload', // 1.7.0
'import/interwiki' => 'import-logentry-interwiki', // 1.7.0
'merge/merge' => 'pagemerge-logentry', // 1.18.0
'suppress/revision' => 'revdelete-logentry', // 1.18.0
'suppress/file' => 'revdelete-logentry', // 1.18.0
'suppress/event' => 'logdelete-logentry', // 1.18.0
'suppress/delete' => 'suppressedarticle', // 1.18.0
'suppress/block' => 'blocklogentry', // 1.18.0
'suppress/reblock' => 'reblock-logentry', // 1.18.0
'patrol/patrol' => 'patrol-log-line', // 1.17.0
);
|