手册:$wgLogHeaders
Appearance
日志记录: $wgLogHeaders | |
---|---|
Lists the message key string for descriptive text to be shown at the top of each log type. |
|
引进版本: | 1.7.0 (r14373) |
移除版本: | 仍在使用 |
允许的值: | (字符串数组) |
默认值: | 参见下方 |
其他设置: 按首字母排序 | 按功能排序 |
详情
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.
默认值
MediaWiki版本: | ≥ 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版本: | 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版本: | 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版本: | 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版本: | 1.7 – 1.9 |
$wgLogHeaders = array(
'' => 'alllogstext',
'block' => 'blocklogtext',
'protect' => 'protectlogtext',
'rights' => 'rightslogtext',
'delete' => 'dellogpagetext',
'upload' => 'uploadlogpagetext',
'move' => 'movelogpagetext',
'import' => 'importlogpagetext', );