Revision 637173 of "Template:WikimediaDownload/de/doc" on mediawikiwiki

{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

=== Verwendung ===
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 <code>download</code> parameter of [[Template:Extension]] and categorizes into [[:Category:Extensions in Wikimedia version control]].

* Note: '''Spaces must be padded with '_' underscores'''.

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 <code>nosnapshot=1</code>. 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 <code>server=</code> parameter.

{| class="wikitable"
! Code
! Preview
|-
| <pre>{{WikimediaDownload|SyntaxHighlight_GeSHi}}</pre>
| {{WikimediaDownload|SyntaxHighlight_GeSHi}}
|-
| <pre>{{WikimediaDownload|SyntaxHighlight_GeSHi|branches/REL1_16|server=svn}}</pre>
| {{WikimediaDownload|SyntaxHighlight_GeSHi|branches/REL1_16|server=svn}}
|-
| <pre>{{WikimediaDownload|SyntaxHighlight_GeSHi|nosnapshot=1}}</pre>
| {{WikimediaDownload|SyntaxHighlight_GeSHi|nosnapshot=1}}
|-
| <pre>{{WikimediaDownload|SyntaxHighlight_GeSHi|server=gerrit}}</pre>
| {{WikimediaDownload|SyntaxHighlight_GeSHi|server=gerrit}}
|-
| <pre>{{WikimediaDownload|SyntaxHighlight_GeSHi|server=gerritonly}}</pre>
| {{WikimediaDownload|SyntaxHighlight_GeSHi|server=gerritonly}}
|-
|}

=== Siehe auch===

*[[Template:WikimediaGitCheckout]]
*[[Template:WikimediaSvnCheckout]]
<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

[[Category:Link templates/de|{{PAGENAME}}]]{{language}}
[[Category:Git/de]]
</includeonly>