(Translated by https://www.hiragana.jp/)
Manual:$wgLogActions: Difference between revisions - MediaWiki Jump to content

Manual:$wgLogActions: Difference between revisions

From mediawiki.org
Content deleted Content added
add patrol/patrol per r63303
Tisane (talk | contribs)
→‎Details: Same as $wgLogActionsHandlers but without function callbacks as values.
Line 10: Line 10:


== Details ==
== 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.
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 [[Manual:$wgLogActionsHandlers|$wgLogActionsHandlers]] but without function callbacks as values.


== Default value ==
== Default value ==

Revision as of 12:23, 23 March 2010

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

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.

Default value

The comment after each item indicates the version of MediaWiki in which it was introduced.

$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
);