Manual:$wgLogNames
Logging: $wgLogNames | |
---|---|
Lists the message key string for 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 |
Other settings: Alphabetical | By function |
Details
editLists 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.
Default value
editMediaWiki version: | ≥ 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 version: | 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 version: | 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 version: | 1.10 |
$wgLogNames = array(
'' => 'log',
'block' => 'blocklogpage',
'protect' => 'protectlogpage',
'rights' => 'rightslog',
'delete' => 'dellogpage',
'upload' => 'uploadlogpage',
'move' => 'movelogpage',
'import' => 'importlogpage',
'patrol' => 'patrol-log-page',
);
MediaWiki versions: | 1.7 – 1.9 |
$wgLogNames = array(
'' => 'log',
'block' => 'blocklogpage',
'protect' => 'protectlogpage',
'rights' => 'rightslog',
'delete' => 'dellogpage',
'upload' => 'uploadlogpage',
'move' => 'movelogpage',
'import' => 'importlogpage'
);