Manual:$wgLogActions: Difference between revisions
Content deleted Content added
default values |
Marked this version for translation |
||
Line 180: | Line 180: | ||
<translate> |
<translate> |
||
== See also == |
== See also == <!--T:10--> |
||
</translate> |
</translate> |
||
* {{ll|Manual:$wgLogActionsHandlers|$wgLogActionsHandlers}} |
* {{ll|Manual:$wgLogActionsHandlers|$wgLogActionsHandlers}} |
Revision as of 12:06, 11 February 2017
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
The comment after each item indicates the version of MediaWiki in which it was introduced.
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 = [];
MediaWiki version: | 1.26 |
$wgLogActions = array(
'protect/modify' => 'modifiedarticleprotection',
'protect/protect' => 'protectedarticle',
'protect/unprotect' => 'unprotectedarticle',
);
MediaWiki version: | 1.25 |
$wgLogActions = array(
'protect/protect' => 'protectedarticle',
'protect/modify' => 'modifiedarticleprotection',
'protect/unprotect' => 'unprotectedarticle',
'protect/move_prot' => 'movedarticleprotection',
);
MediaWiki version: | 1.24 |
$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',
);
MediaWiki versions: | 1.21 – 1.23 |
$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',
);
MediaWiki versions: | 1.19 – 1.20 |
$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',
);
MediaWiki version: | 1.18 |
$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',
'delete/delete' => 'deletedarticle',
'delete/restore' => 'undeletedarticle',
'delete/revision' => 'revdelete-logentry',
'delete/event' => 'logdelete-logentry',
'upload/upload' => 'uploadedimage',
'upload/overwrite' => 'overwroteimage',
'upload/revert' => 'uploadedimage',
'move/move' => '1movedto2',
'move/move_redir' => '1movedto2_redir',
'import/upload' => 'import-logentry-upload',
'import/interwiki' => 'import-logentry-interwiki',
'merge/merge' => 'pagemerge-logentry',
'suppress/revision' => 'revdelete-logentry',
'suppress/file' => 'revdelete-logentry',
'suppress/event' => 'logdelete-logentry',
'suppress/delete' => 'suppressedarticle',
'suppress/block' => 'blocklogentry',
'suppress/reblock' => 'reblock-logentry',
'patrol/patrol' => 'patrol-log-line',
);
MediaWiki versions: | 1.7 – 1.17 |
$wgLogActions = array(
'block/block' => 'blocklogentry', // 1.7.0
'block/unblock' => 'unblocklogentry', // 1.7.0
'protect/protect' => 'protectedarticle', // 1.7.0
'protect/modify' => 'modifiedarticleprotection',
'protect/unprotect' => 'unprotectedarticle', // 1.7.0
'rights/rights' => 'rightslogentry', // 1.7.0
'delete/delete' => 'deletedarticle', // 1.7.0
'delete/restore' => 'undeletedarticle', // 1.7.0
'delete/revision' => 'revdelete-logentry', // 1.7.0
'upload/upload' => 'uploadedimage', // 1.7.0
'upload/overwrite' => 'overwroteimage',
'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
'patrol/patrol' => 'patrol-log-line', // 1.17
);