Jump to content
MediaWiki

Template:SettingSummary

From mediawiki.org
This page is a translated version of the page Template:SettingSummary and the translation is 100% complete.
MediaWiki设置: SettingSummary
请编辑本页面并输入简述。
引进版本:未知
移除版本:仍在使用
允许的值:未指定
默认值:未指定
其他设置: 按首字母排序 | 按功能排序
模板文档
此模板被大约12,000+个页面使用。

为避免大规模崩溃和不必要的服务器负载,对此模板的任何更改都应先在其/sandbox/testcases子页面或您自己的用户子页面中进行测试。 然后经过测试的更改便可以通过单笔编辑添加到此页面。

请考虑在执行任何更改之前先于讨论页进行讨论。
TNT This template uses Module:TNT for localisation:

复制粘贴模板

{{SettingSummary
|name =
|summary =
|section =
|version_min =
|rev_introduced =
|sha_introduced =
|change_introduced =
|version_deprecated =
|rev_deprecated =
|sha_deprecated =
|change_deprecated =
|version_max =
|rev_removed =
|sha_removed =
|change_removed =
|range =
|default =
|newvarlink =
|newvarname =
|sensitive =
}}

TemplateData

[查看 · 讨论 · 编辑 ]

这是该模板的模板数据,用于可视化编辑器及其它工具。

SettingSummary

A card describing the information of a given configuration setting from MediaWiki core.

Template parameters[Edit template data ]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The name of the setting without the initial $wg prefix.

Stringoptional
Version introducedversion_min

The version of MediaWiki the setting was introduced in.

Stringsuggested
Introduced in SVN revisionrev_introduced

Requires "version_min" to be set also. Omit any leading "r".

Example
1509
Numberdeprecated
Introduced in Git commit hashsha_introduced

Requires "version_min" to be set also.

Stringoptional
Introduced in Gerrit change numberchange_introduced

Requires "version_min" and "sha_introduced" to be set as well.

Numberoptional
Version deprecatedversion_deprecated

The version of MediaWiki it was deprecated.

Stringoptional
Deprecated in SVN revisionrev_deprecated

Requires "version_deprecated" to be set also. Omit any leading "r".

Example
1509
Numberdeprecated
Deprecated in Git commit hashsha_deprecated

Requires "version_deprecated" to be set also.

Stringoptional
Deprecated in Gerrit change numberchange_deprecated

Requires "version_deprecated" and "sha_deprecated" to be set well.

Numberoptional
Version removedversion_max

The version of MediaWiki it was removed.

Stringoptional
Removed in SVN revisionrev_removed

Requires "version_max" to be set. Omit any leading "r".

Example
1509
Numberdeprecated
Removed in Git commit hashsha_removed

Requires "version_max" to be set.

Stringoptional
Removed in Gerrit change numberchange_removed

Requires "version_max" and "sha_removed" to be set.

Numberoptional
New variable linknewvarlink

For obsolete settings replaced by another setting, the link to the variable page that took its place.

Page nameoptional
New variable namenewvarname

For obsolete settings replaced by another setting, the new setting name.

Stringoptional
Sensitive datasensitive

If the setting contains sensitive data such as passwords, put "yes".

Stringoptional
Type of settingsection

The category that this setting comes under. This is automatically made into a link to the correct section in "Manual:Configuration settings", so make sure you use an existing heading (or a new heading that you may add).

Stringoptional
Summarysummary

A short description of the setting's purpose. More detailed descriptions are desirable and should be added to the main page content. If you update the short description, please also update the two tables at "Manual:Configuration settings" and "Manual:Configuration settings (alphabetical)".

Stringoptional
Range of allowable valuesrange

The range of allowable values, e.g. "0 - 255", "boolean", "string containing a URL or """. The following values (under "Suggested values") will be automatically translated.

Suggested values
array boolean float integer string
Stringsuggested
Default valuedefault

The default value in a clean MediaWiki installation. If this is different in different versions of the software, then such variations should be noted.

Example
{{phpi|$foobar}}
Contentrequired

相关分类

编者可以在此模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面测试实验。
此模板的子页面

AltStyle によって変換されたページ (->オリジナル) /