Manual:$wgLogNames/zh

From Linux Web Expert

Revision as of 02:02, 28 June 2023 by 36.225.118.194 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Logging</translate>: $wgLogNames
Lists the message key string for each log type.
<translate> Introduced in version:</translate>1.7.0 (r14373)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>-{zh-hans:(字符串数组); zh-hant:(字串陣列);}-
<translate> Default value:</translate>参见下方

详情

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版本:
<translate> ≥</translate> 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',
];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.12</tvar> is unsupported version</translate>">
1.12
MediaWiki版本:
$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',
);
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.11</tvar> is unsupported version</translate>">
1.11
MediaWiki版本:
$wgLogNames = array(
	''        => 'all-logs-page',
	'block'   => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights'  => 'rightslog',
	'delete'  => 'dellogpage',
	'upload'  => 'uploadlogpage',
	'move'    => 'movelogpage',
	'import'  => 'importlogpage',
	'patrol'  => 'patrol-log-page',
);
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.10</tvar> is unsupported version</translate>">
1.10
MediaWiki版本:
$wgLogNames = array(
	''        => 'log',
	'block'   => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights'  => 'rightslog',
	'delete'  => 'dellogpage',
	'upload'  => 'uploadlogpage',
	'move'    => 'movelogpage',
	'import'  => 'importlogpage',
	'patrol'  => 'patrol-log-page',
);
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.9</tvar> is unsupported version</translate>">
1.7 – 1.9
<translate> MediaWiki versions:</translate>
$wgLogNames = array(
	''        => 'log',
	'block'   => 'blocklogpage',
	'protect' => 'protectlogpage',
	'rights'  => 'rightslog',
	'delete'  => 'dellogpage',
	'upload'  => 'uploadlogpage',
	'move'    => 'movelogpage',
	'import'  => 'importlogpage'
);