Template:WikimediaDownload
使用法
ウィキメディアがホスティングしているリポジトリへの有用なリンク集を作成するため、拡張機能のページ内でテンプレートを参照読み込みしてください。
It is specifically designed for usage in the download parameter of Template:Extension and categorizes into カテゴリ:Extensions in Wikimedia version control .
default
{{WikimediaDownload|SyntaxHighlight_GeSHi}}
repo
By default this template assumes a MediaWiki extension repository, and includes:
- link to Special:ExtensionDistributor
- link to GitHub mirror
- link to GitHub tarball
- Category:Extensions in Wikimedia version control membership
Set repo instead of 1, to specify a full Gerrit repository name and thus omit the above.
{{WikimediaDownload|repo=labs/xtools}}
nosnapshot
To hide the link to Special:ExtensionDistributor, set nosnapshot=1.
これは、拡張機能がブランチにしか存在しない場合に便利です。現在、ExtensionDistributor は、masterに存在しないために拡張機能が存在しないと言っているからです。
{{WikimediaDownload|SyntaxHighlight_GeSHi|nosnapshot=1}}
phab
{{WikimediaDownload|SyntaxHighlight_GeSHi|phab=ESHG}}
TemplateData
Standardized download links for extensions in Wikimedia version control.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Extension Name | 1 | The name of the extension without the "Extension:" namespace prefix.
| Line | optional |
| Phabricator Repository Short Name | phab | The short 4-letter name of the repository on Phabricator.
| Line | suggested |
| No Extension Distributor? | nosnapshot | Whether to hide the link to [[Special:ExtensionDistributor]].
| Boolean | optional |
| Template Mode | templatemode | Set to "nocats" to hide categories.
| String | optional |
| Server | server | no description
| String | optional |
関連項目
Maintenance: server=svn, server=gerrit, server=gerritonly,