Sjabloon:WikimediaDownload/en: verschil tussen versies
interwiki>FuzzyBot (Updating to match new version of source page) |
k (1 versie geïmporteerd) |
(geen verschil)
|
Huidige versie van 25 sep 2019 om 13:46
<languages/>
Usage
Transclude the template inside an Extension article to create useful links to a repository hosted by Wikimedia.
It is specifically designed for usage in the download
parameter of Template:Extension and categorizes into Category:Extensions in Wikimedia version control .
In the case of Subversion, a custom path (instead of trunk) can be defined by using the second parameter (e.g. if you want to point them to a branched version):
To hide the link to Special:ExtensionDistributor, add set nosnapshot=1
.
This is useful when an extension only exists in a branch, since currently the ExtensionDistributor would say that the extension doesn't exist due to not being in trunk.
By default links for both links for where extension would be on svn.wikimedia.org and gerrit.wikimedia.org would be are shown.
To only show a particular one, use the server=
parameter.
{{WikimediaDownload|SyntaxHighlight_GeSHi}}[[Category:Extensions in Wikimedia version control{{#translation:}}]]
{{WikimediaDownload|SyntaxHighlight_GeSHi|branches/REL1_16|server=svn}}[[Category:Extensions in Wikimedia version control{{#translation:}}]]
{{WikimediaDownload|SyntaxHighlight_GeSHi|nosnapshot=1}}[[Category:Extensions in Wikimedia version control{{#translation:}}]]
{{WikimediaDownload|SyntaxHighlight_GeSHi|server=gerritonly}}[[Category:Extensions in Wikimedia version control{{#translation:}}]]
{{WikimediaDownload|SyntaxHighlight_GeSHi|disabled=1}}[[Category:Extensions in Wikimedia version control{{#translation:}}]]
See also
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |
[[Category:Template documentation{{#translation:}}| ]]
Maintenance: server=svn, server=gerrit, server=gerritonly, [[Category:Link templates{{#translation:}}|WikimediaDownload/en]] [[Category:Git{{#translation:}}]]