Manual:$wgLogHeaders

From Linux Web Expert

Revision as of 00:52, 17 April 2021 by imported>Shirayuki (update section per DefaultSettings.php)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Logging</translate>: $wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of 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>(array of strings)
<translate> Default value:</translate>see below

Details

Lists the message key string for descriptive text to be shown at the top of each log type. Extensions with custom log types may add to this array. If you follow the naming convention log-description-TYPE, where TYPE is your log type, you don't need to use this array.

Default value

MediaWiki version:
<translate> ≥</translate> 1.26
$wgLogHeaders = [
	'' => 'alllogstext',
	'block' => 'blocklogtext',
	'delete' => 'dellogpagetext',
	'import' => 'importlogpagetext',
	'merge' => 'mergelogpagetext',
	'move' => 'movelogpagetext',
	'patrol' => 'patrol-log-header',
	'protect' => 'protectlogtext',
	'rights' => 'rightslogtext',
	'suppress' => 'suppressionlogtext',
	'upload' => 'uploadlogpagetext',
];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.25</tvar> is unsupported version</translate>">
1.13 – 1.25
<translate> MediaWiki versions:</translate>
$wgLogHeaders = array(
	'' => 'alllogstext',
	'block' => 'blocklogtext',
	'protect' => 'protectlogtext',
	'rights' => 'rightslogtext',
	'delete' => 'dellogpagetext',
	'upload' => 'uploadlogpagetext',
	'move' => 'movelogpagetext',
	'import' => 'importlogpagetext',
	'patrol' => 'patrol-log-header',
	'merge' => 'mergelogpagetext',
	'suppress' => 'suppressionlogtext',
);
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.12</tvar> is unsupported version</translate>">
1.12
MediaWiki version:
$wgLogHeaders = array(
	''        => 'alllogstext',
	'block'   => 'blocklogtext',
	'protect' => 'protectlogtext',
	'rights'  => 'rightslogtext',
	'delete'  => 'dellogpagetext',
	'upload'  => 'uploadlogpagetext',
	'move'    => 'movelogpagetext',
	'import'  => 'importlogpagetext',
	'patrol'  => 'patrol-log-header',
	'merge'   => 'mergelogpagetext',
);
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.11</tvar> is unsupported version</translate>">
1.10 – 1.11
<translate> MediaWiki versions:</translate>
$wgLogHeaders = array(
	''        => 'alllogstext',
	'block'   => 'blocklogtext',
	'protect' => 'protectlogtext',
	'rights'  => 'rightslogtext',
	'delete'  => 'dellogpagetext',
	'upload'  => 'uploadlogpagetext',
	'move'    => 'movelogpagetext',
	'import'  => 'importlogpagetext',
	'patrol'  => 'patrol-log-header',
);
<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>
$wgLogHeaders = array(
	''        => 'alllogstext',
	'block'   => 'blocklogtext',
	'protect' => 'protectlogtext',
	'rights'  => 'rightslogtext',
	'delete'  => 'dellogpagetext',
	'upload'  => 'uploadlogpagetext',
	'move'    => 'movelogpagetext',
	'import'  => 'importlogpagetext', );