Jump to content

Mall:SettingSummary

From mediawiki.org
This page is a translated version of the page Template:SettingSummary and the translation is 100% complete.
MediaWiki-inställningar: SettingSummary
Redigera sidan för att skriva en sammanfattning.
Introducerad i version:Okänd
Borttagen i version:används fortfarande
Tillåtna värden:Ospecificerad
Standardvärde:Ospecificerad
Template documentation

Kopiera och klistra in mallen

{{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

[visning · diskutera · redigera]

Detta är TemplateData-dokumentationen för denna mall som används av VisualEditor och andra verktyg.

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
Numberoptional
Introduced in Git commit hash sha_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
Numberoptional
Deprecated in Git commit hashsha_deprecated

Requires ''version_deprecated'' to be set also.

Stringoptional
Introduced 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
Numberoptional
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

Unknownoptional
Sensitive datasensitive

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

Booleanoptional
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).

Unknownoptional
Range of allowable valuesrange

The range of allowable values, e.g. "0 - 255", "boolean", "string containing a URL or """.

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

Relaterade kategorier