Template:Deprecated
Appearance
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . |
Template documentation
Examples
- {{Deprecated|1.20.0}}
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . |
- {{Deprecated|1.20.0|Optional message}}
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility . |
- {{Deprecated|1.20.0|newvarname=$IP|newvarlink=Special:MyLanguage/Manual:$IP}}
Deprecated: This feature is deprecated and should no longer be used, however it is still available for reasons of backwards compatibility .
|
Copy and paste template
{{Deprecated |replacement = |1 = |newvarlink = |version = |2 = |newvarname = |nocat = |name = }}
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Deprecated
Used to mark a feature as deprecated.
Parameter | Description | Type | Status | |
---|---|---|---|---|
replacement | replacement | used to identify the kind of deprecated page. Allowed values are mw (for a MediaWiki release) or an extension name, or empty.
| String | optional |
varVersion | 1 | identifies old MW version of this deprecated item. | String | optional |
newvarlink | newvarlink | link which identifies a replacement page (if exists).
| URL | optional |
mwVersion | version | identifies the new version of MediaWiki when the deprecated function was moved to core | String | optional |
optText | 2 | free additional text
| String | optional |
newvarname | newvarname | page name of Manual: namespace identifying newvarlink | String | optional |
nocat | nocat | when defined this flag means NOT to assign the page to Category:MediaWiki deprecated or obsolete features
| Boolean | optional |
name | name | text to display with the category message (validated by nocat)
| String | optional |