Jump to content

Manual:$wgLogHeaders

From mediawiki.org
Logging: $wgLogHeaders
Lists the message key string for descriptive text to be shown at the top of each log type.
Introduced in version:1.7.0 (r14373)
Removed in version:Still in use
Allowed values:(array of strings)
Default value:see below

Details

[edit]

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

[edit]
MediaWiki version:
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',
];
MediaWiki versions:
1.13 – 1.25
$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',
);
MediaWiki version:
1.12
$wgLogHeaders = array(
	''        => 'alllogstext',
	'block'   => 'blocklogtext',
	'protect' => 'protectlogtext',
	'rights'  => 'rightslogtext',
	'delete'  => 'dellogpagetext',
	'upload'  => 'uploadlogpagetext',
	'move'    => 'movelogpagetext',
	'import'  => 'importlogpagetext',
	'patrol'  => 'patrol-log-header',
	'merge'   => 'mergelogpagetext',
);
MediaWiki versions:
1.10 – 1.11
$wgLogHeaders = array(
	''        => 'alllogstext',
	'block'   => 'blocklogtext',
	'protect' => 'protectlogtext',
	'rights'  => 'rightslogtext',
	'delete'  => 'dellogpagetext',
	'upload'  => 'uploadlogpagetext',
	'move'    => 'movelogpagetext',
	'import'  => 'importlogpagetext',
	'patrol'  => 'patrol-log-header',
);
MediaWiki versions:
1.7 – 1.9
$wgLogHeaders = array(
	''        => 'alllogstext',
	'block'   => 'blocklogtext',
	'protect' => 'protectlogtext',
	'rights'  => 'rightslogtext',
	'delete'  => 'dellogpagetext',
	'upload'  => 'uploadlogpagetext',
	'move'    => 'movelogpagetext',
	'import'  => 'importlogpagetext', );