模板:已存档扩展
When archiving an extension, please also file a archive extension or skin task on Phabricator so all instances relating to the extension can be cleaned up. |
目的
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 分类:已存档扩展 or 分类:已存档皮肤 .
用法
{{Archived extension|oldID}}
该扩展或皮肤已存档。
This extension or skin has not been maintained for some time, and no longer supports recent releases of MediaWiki. 要查看存档之前的页面,请点此。 |
{{Archived extension|oldID|reason=Depended on a service which no longer exists.}}
该扩展或皮肤已存档。
Depended on a service which no longer exists. 要查看存档之前的页面,请点此。 |
{{Archived extension|oldID|Alternative1|Alternative2|Alternative3|reason=This extension is unstable and unmaintained.}}
该扩展或皮肤已存档。
This extension is unstable and unmaintained.
|
{{Archived extension|oldID|task=T1234}}
该扩展或皮肤已存档。
This extension or skin has not been maintained for some time, and no longer supports recent releases of MediaWiki. It was archived per 工單T1234. 要查看存档之前的页面,请点此。 |
{{Archived extension|oldID|reason=This extension is unstable and unmaintained.|task=T1234}}
该扩展或皮肤已存档。
This extension is unstable and unmaintained. It was archived per 工單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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Old ID | 1 | Revision ID of the page before the archival
| Number | required |
Alternative 1 | 2 | Optional alternative 1 | Page name | optional |
Alternative 2 | 3 | Optional alternative 2 | Page name | 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 [[]]
| Boolean | optional |
Task | task | Reference of Phabricator task leading to archival
| String | optional |