Template:Deprecated/doc
This is a documentation subpage for Template:Deprecated. It contains usage information, categories and other content that is not part of the original Template page. |
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 |