Difference between revisions of "Template:Archived extension"
Mediawiki>Shirayuki m |
Joelmartin (talk | contribs) m (Text replacement - "<tvar|1>" to "") |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | + | ||
− | </noinclude>{{#switch: | + | </noinclude>{{#switch: |
| = | | = | ||
{{mbox | {{mbox | ||
Line 7: | Line 7: | ||
| image = [[File:Replacement filing cabinet.svg|50px|link=]] | | image = [[File:Replacement filing cabinet.svg|50px|link=]] | ||
| textstyle = | | textstyle = | ||
− | | text = <div style="font-size:16pt; color:#555; margin:10px; margin-{{dir|{{pagelang}}|right|left}}:0;">''' | + | | text = <div style="font-size:16pt; color:#555; margin:10px; margin-{{dir|{{pagelang}}|right|left}}:0;">''' This extension has been archived.'''</div> |
− | {{#if:{{{reason|}}}|{{{reason|}}}| | + | {{#if:{{{reason|}}}|{{{reason|}}}| This extension has not been maintained for some time, and no longer supports recent releases of MediaWiki.}} |
{{#if:{{{2|}}}| <br /> | {{#if:{{{2|}}}| <br /> | ||
− | + | ||
− | + | ||
The following other choices are available: | The following other choices are available: | ||
− | + | ||
* {{ll|Extension:{{{2}}}|{{{2}}}}}{{#if:{{{3|}}}| | * {{ll|Extension:{{{2}}}|{{{2}}}}}{{#if:{{{3|}}}| | ||
* {{ll|Extension:{{{3}}}|{{{3}}}}} | * {{ll|Extension:{{{3}}}|{{{3}}}}} | ||
}} }} | }} }} | ||
− | <small>[[Special:PermanentLink/{{{1}}}| | + | <small>[[Special:PermanentLink/{{{1}}}| To see the page before archival, click here.]]</small> |
− | }}<includeonly>{{#if:{{{nocat|}}}||[[Category:Archived extensions | + | }}<includeonly>{{#if:{{{nocat|}}}||[[Category:Archived extensions|{{PAGENAME}}]]{{#if:{{{1|}}}||[[Category:Archived extensions without an oldid]]}}}}</includeonly> |
| #default= | | #default= | ||
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:Archived extension|noshift=1}} | {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Archived extension|noshift=1}} | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation|content= | {{Documentation|content= | ||
− | |||
− | |||
− | + | ==Purpose== | |
− | For archiving extensions in a way that removes them from standard view, but is still accessible in revisions history. | + | |
− | + | ||
− | + | For archiving extensions in a way that removes them from standard view, but is still accessible in revisions history. | |
− | This allows the wiki to both respect the original contributor by not completely removing their work, while reducing the amount of content that may inadvertently cause confusion or problems for sysadmins and developers. | + | |
− | + | ||
− | + | This allows the wiki to both respect the original contributor by not completely removing their work, while reducing the amount of content that may inadvertently cause confusion or problems for sysadmins and developers. | |
− | Also add the page to | + | |
+ | |||
+ | Also add the page to {{ll|Category:Archived extensions}}. | ||
+ | |||
+ | == Usage == | ||
− | + | {{tlx|Archived extension|oldID|reason= Depended on a service which no longer exists.}} | |
− | + | {{Archived extension|oldID|reason= Depended on a service which no longer exists.|nocat=true}} | |
− | {{tlx|Archived extension|oldID|reason= | ||
− | {{Archived extension|oldID|reason= | ||
{{tlx|Archived extension|oldID|Alternative1|Alternative2|<nowiki>reason=Depended on a service which no longer exists.</nowiki>}} | {{tlx|Archived extension|oldID|Alternative1|Alternative2|<nowiki>reason=Depended on a service which no longer exists.</nowiki>}} | ||
Line 44: | Line 44: | ||
;oldID | ;oldID | ||
− | : | + | : Revision ID of the last revision which contained the extension's information |
− | : | + | : Can be found in the URL by visiting that revision from the page's history screen |
− | : | + | : If no oldid is provided, the page will automatically be placed in the category {{ll|Category:Archived extensions without an oldid}}. |
;Alternative1, Alternative2 | ;Alternative1, Alternative2 | ||
− | : | + | : Alternative extensions that perform similar functions |
;reason= | ;reason= | ||
− | : | + | : To provide a different explanation for why the extension is being archived. |
<templatedata> | <templatedata> | ||
Line 102: | Line 102: | ||
}} | }} | ||
− | [[Category:Extension templates | + | [[Category:Extension templates]] |
− | [[Category:Archival templates | + | [[Category:Archival templates]] |
</noinclude> | </noinclude> |
Latest revision as of 19:19, 21 December 2019
![]() | This extension has been archived.
This extension has not been maintained for some time, and no longer supports recent releases of MediaWiki. [[Special:PermanentLink/{{{1}}}| To see the page before archival, click here.]] |

Purpose
For archiving extensions in a way that removes them from standard view, but is still accessible in revisions history.
This allows the wiki to both respect the original contributor by not completely removing their work, while reducing the amount of content that may inadvertently cause confusion or problems for sysadmins and developers.
Also add the page to Category:Archived extensions .
Usage
{{Archived extension|oldID}}
![]() | This extension has been archived.
Depended on a service which no longer exists. To see the page before archival, click here. |
{{Archived extension|oldID|Alternative1|Alternative2|reason=Depended on a service which no longer exists.}}
![]() | This extension has been archived.
Depended on a service which no longer exists.
|
- oldID
- Revision ID of the last revision which contained the extension's information
- Can be found in the URL by visiting that revision from the page's history screen
- If no oldid is provided, the page will automatically be placed in the category Category:Archived extensions without an oldid .
- Alternative1, Alternative2
- Alternative extensions that perform similar functions
- reason=
- To provide a different explanation for why the extension is being archived.
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Old ID | 1 | Revision ID of the page before the archival
| Number | required |
Alternative 1 | 2 | Optional alternative 1 | Page | optional |
Alternative 2 | 3 | Optional alternative 2 | Page | optional |
Archival reason | reason | Reason for the archival
| String | suggested |
Should categorize | nocat | Determines if the page the template is used on should be included in [[Category:Archived extensions]]
| Boolean | optional |