Jump to content

Manual:$wgLogActions

From mediawiki.org
This page is a translated version of the page Manual:$wgLogActions and the translation is 67% complete.
Outdated translations are marked like this.
Logging: $wgLogActions
Lista uma cadeia de chaves de mensagens para formatar eventos de cada tipo/ação quando listados nos registros.
Introduzido na versão:1.7.0 (r14373)
Removido na versão:ainda em uso
Valores permitidos:(arranjo de strings)
Valor padrão:see below

Detalhes

Lista uma cadeia de chaves de mensagens para formatar eventos de cada tipo/ação quando listados nos registros. Extensões com tipos de registro personalizado também podem adicionar a esse arranjo. O mesmo que $wgLogActionsHandlers , mas sem os callbacks de funções como valores.

New log types should be defined using $wgLogActionsHandlers instead, which allows for better localisation of the log messages (see T26620).

Veja Manual:Registrando para Special:Log para mais informações sobre o registro do MediaWiki.

Valor padrão

Versão MediaWiki:
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 = [];
Versões mais antigas
Versão MediaWiki:
1.26
$wgLogActions = array(
	'protect/modify' => 'modifiedarticleprotection',
	'protect/protect' => 'protectedarticle',
	'protect/unprotect' => 'unprotectedarticle',
);
Versão MediaWiki:
1.25
$wgLogActions = array(
	'protect/protect' => 'protectedarticle',
	'protect/modify' => 'modifiedarticleprotection',
	'protect/unprotect' => 'unprotectedarticle',
	'protect/move_prot' => 'movedarticleprotection',
);
Versão MediaWiki:
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',
);
Versões do MediaWiki:
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',
);
Versões do MediaWiki:
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',
);
Versões do MediaWiki:
1.7 – 1.18
$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
);

Ver também