跳转到内容

模板:Archived extension/en

来自天灾之下:危险连接资料站


模板文档

Purpose

For archiving extensions and skins 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 or Category:Archived skins .

Usage

{{Archived extension|oldID}}


{{Archived extension|oldID|reason=Depended on a service which no longer exists.}}


{{Archived extension|oldID|Alternative1|Alternative2|Alternative3|reason=This extension is unstable and unmaintained.}}



{{Archived extension|oldID|task=T1234}}


{{Archived extension|oldID|reason=This extension is unstable and unmaintained.|task=T1234}}


oldID
Revision ID of the last revision which contained the extension or skin'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 or Category:Archived skins without an oldid .
Alternative1, Alternative2, Alternative3
Alternative extensions or skins that perform similar functions
reason=
To provide a different explanation for why the extension or skin is being archived.
task
If the extension or skin was archived due to a Phabricator task, provides a link to that task. This is appended to the |reason= parameter (or the default text if that parameter is not specified)

Display a message that the current extension has been archived.

模板参数[编辑模板数据]

此模板首选参数不换行的行内格式。

参数描述类型状态
Old ID1

Revision ID of the page before the archival

示例值
2891520
自动值
数字必需
Alternative 12

Optional alternative 1

页面名称可选
Alternative 23

Optional alternative 2

页面名称可选
Archival reasonreason

Reason for the archival

示例值
Depended on a service which no longer exists.
自动值
This extension has not been maintained for some time, and no longer supports recent releases of MediaWiki.
字符串推荐
Should categorizenocat

Determines if the page the template is used on should be included in [[]]

自动值
false
布尔可选
Tasktask

Reference of Phabricator task leading to archival

示例值
task=T1234
字符串可选