This page is a translated version of the page Manual:$wgLogNames and the translation is 50% complete.
日志记录: $wgLogNames
Lists the message key string for each log type.
引进版本:1.7.0 (r14373)
移除版本:仍在使用
允许的值:(字符串数组)
默认值:参见下方

详情

Lists the message key string for each log type. The localized messages will be listed in the user interface, as header of the log page for that log type and in the Special:Log dropdown. Extensions with custom log types may add to this array. If you follow the naming convention log-name-TYPE, where TYPE is your log type, you don't need to use this setting.

默认值

MediaWiki版本:
1.13
$wgLogNames = [
	'' => 'all-logs-page',
	'block' => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights' => 'rightslog',
	'delete' => 'dellogpage',
	'upload' => 'uploadlogpage',
	'move' => 'movelogpage',
	'import' => 'importlogpage',
	'patrol' => 'patrol-log-page',
	'merge' => 'mergelog',
	'suppress' => 'suppressionlog',
];
MediaWiki版本:
1.12
$wgLogNames = array(
	''        => 'all-logs-page',
	'block'   => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights'  => 'rightslog',
	'delete'  => 'dellogpage',
	'upload'  => 'uploadlogpage',
	'move'    => 'movelogpage',
	'import'  => 'importlogpage',
	'patrol'  => 'patrol-log-page',
	'merge'   => 'mergelog',
);
MediaWiki版本:
1.11
$wgLogNames = array(
	''        => 'all-logs-page',
	'block'   => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights'  => 'rightslog',
	'delete'  => 'dellogpage',
	'upload'  => 'uploadlogpage',
	'move'    => 'movelogpage',
	'import'  => 'importlogpage',
	'patrol'  => 'patrol-log-page',
);
MediaWiki版本:
1.10
$wgLogNames = array(
	''        => 'log',
	'block'   => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights'  => 'rightslog',
	'delete'  => 'dellogpage',
	'upload'  => 'uploadlogpage',
	'move'    => 'movelogpage',
	'import'  => 'importlogpage',
	'patrol'  => 'patrol-log-page',
);
MediaWiki版本:
1.7 – 1.9
$wgLogNames = array(
	''        => 'log',
	'block'   => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights'  => 'rightslog',
	'delete'  => 'dellogpage',
	'upload'  => 'uploadlogpage',
	'move'    => 'movelogpage',
	'import'  => 'importlogpage'
);