Jump to content

手册:$wgSoftwareTags

From mediawiki.org
This page is a translated version of the page Manual:$wgSoftwareTags and the translation is 100% complete.
最近的更改、新页面、监视列表和历史记录: $wgSoftwareTags
要启用的核心标签列表。
引进版本:1.31.0 (Gerrit change 390224; git #62713be9)
移除版本:仍在使用
允许的值:(标签数组)
默认值:参见下方

默认值

MediaWiki版本:
1.37
$wgSoftwareTags = [
	'mw-contentmodelchange' => true,
	'mw-new-redirect' => true,
	'mw-removed-redirect' => true,
	'mw-changed-redirect-target' => true,
	'mw-blank' => true,
	'mw-replace' => true,
	'mw-rollback' => true,
	'mw-undo' => true,
	'mw-manual-revert' => true,
	'mw-reverted' => true,
	'mw-server-side-upload' => true,
	'mw-add-media' => false,
	'mw-remove-media' => false,
];
MediaWiki版本:
1.36
$wgSoftwareTags = [
	'mw-contentmodelchange' => true,
	'mw-new-redirect' => true,
	'mw-removed-redirect' => true,
	'mw-changed-redirect-target' => true,
	'mw-blank' => true,
	'mw-replace' => true,
	'mw-rollback' => true,
	'mw-undo' => true,
	'mw-manual-revert' => true,
	'mw-reverted' => true,
];
MediaWiki版本:
1.31 – 1.35
$wgSoftwareTags = [
	'mw-contentmodelchange' => true,
	'mw-new-redirect' => true,
	'mw-removed-redirect' => true,
	'mw-changed-redirect-target' => true,
	'mw-blank' => true,
	'mw-replace' => true,
	'mw-rollback' => true,
	'mw-undo' => true,
];