模板:已存档扩展
| 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. 也会将页面添加到分类:已存档扩展或分类:已存档皮肤中。
用法
{{Archived extension|oldID}}
此扩展或皮肤已被存档。
该扩展或皮肤已有一段时间没有维护,且其不再支持MediaWiki的最新发行版本。 要查看存档之前的页面,请点此。 |
{{Archived extension|oldID|reason=其依赖的服务不复存在。}}
此扩展或皮肤已被存档。
其依赖的服务不复存在。 要查看存档之前的页面,请点此。 |
{{Archived extension|oldID|Alternative1|Alternative2|Alternative3|reason=此扩展不稳定且不被维护。}}
此扩展或皮肤已被存档。
此扩展不稳定且不被维护。
|
{{Archived extension|oldID|task=T1234}}
此扩展或皮肤已被存档。
该扩展或皮肤已有一段时间没有维护,且其不再支持MediaWiki的最新发行版本。 其按照T1234存档。 要查看存档之前的页面,请点此。 |
{{Archived extension|oldID|reason=此扩展不稳定且不被维护。|task=T1234}}
此扩展或皮肤已被存档。
此扩展不稳定且不被维护。 其按照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 |