Difference between revisions of "Template:MW release status"
Jump to navigation
Jump to search
Template documentation
Joelmartin (talk | contribs) m (1 revision imported) |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|2>" to "") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<languages/> | <languages/> | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
{{mbox | {{mbox | ||
Line 12: | Line 12: | ||
| #default = notice | | #default = notice | ||
}} | }} | ||
− | | image = {{#switch: {{{1|}}} | future = [[File:OOjs UI icon clock-progressive.svg|40x40px|alt= | + | | image = {{#switch: {{{1|}}} | future = [[File:OOjs UI icon clock-progressive.svg|40x40px|alt= Future version|link=]] }} |
− | | text = ''' | + | | text = ''' This page contains [[<tvar|relnotes>Special:MyLanguage/Release notes|release notes]] for {{#switch: {{{1|}}} |
− | | unsupported = | + | | unsupported = an [[Special:MyLanguage/Version lifecycle|unsupported version]] |
− | | legacylts = | + | | legacylts = a [[Special:MyLanguage/Version lifecycle|long-term support version]] |
− | | legacy = | + | | legacy = a [[Special:MyLanguage/Version lifecycle|legacy version]] |
− | | stable = | + | | stable = a [[Special:MyLanguage/Version lifecycle|stable version]] |
− | | future = | + | | future = a [[Special:MyLanguage/Version lifecycle|future version]] |
− | | #default = | + | | #default = a [[Special:MyLanguage/Version lifecycle|version]] |
− | }} | + | }}  of MediaWiki.'''{{#switch: {{{1|}}} |
| unsupported = | | unsupported = | ||
<!--Check if user specified that the version is released after LTS--> | <!--Check if user specified that the version is released after LTS--> | ||
Line 26: | Line 26: | ||
| | | | ||
<!--Yes--> | <!--Yes--> | ||
− | <div style="font-size: 90%;" | + | <div style="font-size: 90%;"> Users of this version are advised to [[<tvar|upgrade>Special:MyLanguage/Manual:Upgrading|upgrade]] to version <tvar|mw1>{{ll|MediaWiki {{MW stable branch number}}|{{MW stable release number}}}} (latest stable) or <tvar|mw2>{{ll|MediaWiki {{MW legacy branch number}}|{{MW legacy release number}}}} (legacy version).</div> |
| | | | ||
<!--Nope--> | <!--Nope--> | ||
− | <div style="font-size: 90%;" | + | <div style="font-size: 90%;"> Users of this version are advised to [[<tvar|upgrade>Special:MyLanguage/Manual:Upgrading|upgrade]] to version <tvar|mw1>{{ll|MediaWiki {{MW stable branch number}}|{{MW stable release number}}}} (latest stable), <tvar|mw2>{{ll|MediaWiki {{MW legacy branch number}}|{{MW legacy release number}}}} (legacy version) or <tvar|mw3>{{ll|MediaWiki {{MW legacy lts branch number}}|{{MW legacy lts release number}}}} (legacy long-term support version).</div> |
}} | }} | ||
− | | future = <div style="font-size: 90%;" | + | | future = <div style="font-size: 90%;"> The latest version that users should [[<tvar|install>Special:MyLanguage/Manual:Installing MediaWiki|install]] or [[<tvar|upgrade>Special:MyLanguage/Manual:Upgrading|upgrade to]] is <tvar|mw1>{{ll|MediaWiki {{MW stable branch number}}|{{MW stable release number}}}}.</div> |
− | | #default = <div style{{=}}"font-size: 90%;" | + | | #default = <div style{{=}}"font-size: 90%;"> The current version is <tvar|mw1>{{ll|MediaWiki {{MW stable branch number}}|{{MW stable release number}}}}. The legacy support version is <tvar|mw2>{{ll|MediaWiki {{MW legacy branch number}}|{{MW legacy release number}}}}. The legacy long-term support version is <tvar|mw3>{{ll|MediaWiki {{MW legacy lts branch number}}|{{MW legacy lts release number}}}}.</div> |
}} | }} | ||
}} | }} | ||
Line 39: | Line 39: | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation|content= | {{Documentation|content= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | ==Usage== | + | |
− | + | This template makes it easier to keep information on MediaWiki [[Special:MyLanguage/Release notes|release notes]] pages consistent with the current state of the various releases. | |
+ | |||
+ | |||
+ | (See {{ll|Version lifecycle}} and {{ll|Category:MediaWiki version information templates}}.) | ||
+ | |||
+ | ==Usage== | ||
+ | |||
<nowiki>{{MW release status|</nowiki>''status''<nowiki>}}</nowiki> | <nowiki>{{MW release status|</nowiki>''status''<nowiki>}}</nowiki> | ||
− | + | ||
− | + | ||
where ''status'' is one of the following: | where ''status'' is one of the following: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | * '''future''' – for pre-release versions that should not be installed in production environments | |
− | ==Examples== | + | * '''stable''' – for stable versions that are currently supported |
− | + | * '''legacy''' – for legacy versions that are still supported | |
+ | * '''legacylts''' – for legacy versions that are still supported and are LTS versions | ||
+ | * '''unsupported''' – for old versions that are no longer supported and should not be installed | ||
+ | |||
+ | |||
+ | ==Examples== | ||
+ | |||
<nowiki>{{MW release status|future}}</nowiki> | <nowiki>{{MW release status|future}}</nowiki> | ||
{{MW release status|future}} | {{MW release status|future}} |
Latest revision as of 19:19, 21 December 2019
![]() | This page contains [[<tvar|relnotes>Special:MyLanguage/Release notes|release notes]] for a version of MediaWiki.mw3>1.31.5 . |

This template makes it easier to keep information on MediaWiki release notes pages consistent with the current state of the various releases.
(See Version lifecycle and Category:MediaWiki version information templates .)
Usage
{{MW release status|status}}
where status is one of the following:
- future – for pre-release versions that should not be installed in production environments
- stable – for stable versions that are currently supported
- legacy – for legacy versions that are still supported
- legacylts – for legacy versions that are still supported and are LTS versions
- unsupported – for old versions that are no longer supported and should not be installed
Examples
{{MW release status|future}}
![]() | This page contains [[<tvar|relnotes>Special:MyLanguage/Release notes|release notes]] for a future version of MediaWiki. The latest version that users should [[<tvar|install>Special:MyLanguage/Manual:Installing MediaWiki|install]] or [[<tvar|upgrade>Special:MyLanguage/Manual:Upgrading|upgrade to]] is <tvar |
{{MW release status|stable}}
![]() | This page contains [[<tvar|relnotes>Special:MyLanguage/Release notes|release notes]] for a stable version of MediaWiki.mw3>1.31.5 . |
{{MW release status|legacy}}
![]() | This page contains [[<tvar|relnotes>Special:MyLanguage/Release notes|release notes]] for a legacy version of MediaWiki.mw3>1.31.5 . |
{{MW release status|legacylts}}
![]() | This page contains [[<tvar|relnotes>Special:MyLanguage/Release notes|release notes]] for a long-term support version of MediaWiki.mw3>1.31.5 . |
{{MW release status|unsupported}}
![]() | This page contains [[<tvar|relnotes>Special:MyLanguage/Release notes|release notes]] for an unsupported version of MediaWiki.mw1>1.33.1 (latest stable) or <tvar |