Line 1: |
Line 1: |
| <noinclude> | | <noinclude> |
| <languages/> | | <languages/> |
− | </noinclude>{{#switch:</translate> | + | </noinclude>{{#switch: |
| | = | | | = |
| <div class="plainlinks" style="white-space:nowrap">{{#if: {{{nosnapshot|}}} | | <div class="plainlinks" style="white-space:nowrap">{{#if: {{{nosnapshot|}}} |
| | | | | |
| | {{#ifeq: {{{server|gerrit}}} | gerritonly | | | {{#ifeq: {{{server|gerrit}}} | gerritonly |
− | <!-- -->| {{DownloadGitSnapshot|1={{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}|2='''<!--T:1--> Download Git master</translate>'''}} <br /> | + | <!-- -->| {{DownloadGitSnapshot|1={{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}|2='''<!--T:1--> Download Git master'''}} <br /> |
− | <!-- -->| {{#ifeq: {{{server|gerrit}}} | gerrit | [[Special:ExtensionDistributor/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}|'''<!--T:2--> Download extension</translate>''']] <br /> }} <!-- | + | <!-- -->| {{#ifeq: {{{server|gerrit}}} | gerrit | [[Special:ExtensionDistributor/{{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}|'''<!--T:2--> Download extension''']] <br /> }} <!-- |
| --> | | --> |
| }} | | }} |
Line 13: |
Line 13: |
| | | |
| -->{{#ifeq: {{{server|gerrit}}} | svn | | | -->{{#ifeq: {{{server|gerrit}}} | svn | |
− | | <!--T:4--> Git</translate> <sup>[<nowiki/>[[Special:MyLanguage/Download from Git|?]]<nowiki/>]</sup>: | + | | <!--T:4--> Git <sup>[<nowiki/>[[Special:MyLanguage/Download from Git|?]]<nowiki/>]</sup>: |
− | * {{DownloadGitHubSnapshot|1={{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}|2=<!--T:3--> Download Git master</translate>}} | + | * {{DownloadGitHubSnapshot|1={{{1|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}|2=<!--T:3--> Download Git master}} |
− | * [https://gerrit.wikimedia.org/g/mediawiki/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}} <!--T:6--> browse repository</translate>] ([https://github.com/wikimedia/mediawiki-extensions-{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}} GitHub]) | + | * [https://gerrit.wikimedia.org/g/mediawiki/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}} <!--T:6--> browse repository] ([https://github.com/wikimedia/mediawiki-extensions-{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}} GitHub]) |
− | * [https://gerrit.wikimedia.org/g/mediawiki/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/+log/master <!--T:7--> commit history</translate>] | + | * [https://gerrit.wikimedia.org/g/mediawiki/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/+log/master <!--T:7--> commit history] |
| {{#if: {{{disabled|}}}|| | | {{#if: {{{disabled|}}}|| |
− | * [https://gerrit.wikimedia.org/r/#/q/project:mediawiki/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}},n,z <!--T:8--> code review</translate>] | + | * [https://gerrit.wikimedia.org/r/#/q/project:mediawiki/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}},n,z <!--T:8--> code review] |
| }}<!-- endif disabled --> | | }}<!-- endif disabled --> |
| }}<!-- endifeq gerrit | | }}<!-- endifeq gerrit |
| | | |
| -->{{#ifeq: {{{server|gerrit}}} | svn | | -->{{#ifeq: {{{server|gerrit}}} | svn |
− | | <!--T:9--> SVN</translate> <sup>[<nowiki/>[[Special:MyLanguage/Subversion|?]]<nowiki/>]</sup>: | + | | <!--T:9--> SVN <sup>[<nowiki/>[[Special:MyLanguage/Subversion|?]]<nowiki/>]</sup>: |
− | * [//phabricator.wikimedia.org/diffusion/SVN/browse/{{{2|trunk}}}/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/ <!--T:10--> svn checkout URL</translate>] | + | * [//phabricator.wikimedia.org/diffusion/SVN/browse/{{{2|trunk}}}/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/ <!--T:10--> svn checkout URL] |
− | * [//phabricator.wikimedia.org/diffusion/SVN/browse/{{{2|trunk}}}/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/ <!--T:11--> browse file tree</translate>] | + | * [//phabricator.wikimedia.org/diffusion/SVN/browse/{{{2|trunk}}}/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/ <!--T:11--> browse file tree] |
− | * [{{fullurl:Special:Code/MediaWiki|path={{urlencode:/trunk/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/}}}} <!--T:12--> commit history</translate>] | + | * [{{fullurl:Special:Code/MediaWiki|path={{urlencode:/trunk/extensions/{{{1|{{urlencode:{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}|WIKI}}}}}/}}}} <!--T:12--> commit history] |
| }}<!-- | | }}<!-- |
| | | |
Line 42: |
Line 42: |
| {{Documentation|content= | | {{Documentation|content= |
| | | |
− | {{Note|1=<!--T:25--> If this template is not working correctly for a repository, make sure its callsign is listed on <tvar|1>[[Module:Callsigns]].</translate>}} | + | {{Note|1=<!--T:25--> If this template is not working correctly for a repository, make sure its callsign is listed on <tvar|1>[[Module:Callsigns]].}} |
| | | |
| | | |
Line 48: |
Line 48: |
| | | |
| <!--T:14--> | | <!--T:14--> |
− | Transclude the template inside an Extension article to create useful links to a repository hosted by Wikimedia.</translate> | + | Transclude the template inside an Extension article to create useful links to a repository hosted by Wikimedia. |
| | | |
| <!--T:15--> | | <!--T:15--> |
| It is specifically designed for usage in the <code>download</code> parameter of <tvar|template>{{ll|Template:Extension}} and categorizes into <tvar|cat>{{ll|Category:Extensions in Wikimedia version control}}. | | It is specifically designed for usage in the <code>download</code> parameter of <tvar|template>{{ll|Template:Extension}} and categorizes into <tvar|cat>{{ll|Category:Extensions in Wikimedia version control}}. |
− | </translate>
| |
| | | |
− | {{Note|1=<!--T:16--> Spaces must be padded with '_' underscores.</translate>}} | + | |
| + | {{Note|1=<!--T:16--> Spaces must be padded with '_' underscores.}} |
| | | |
| | | |
Line 61: |
Line 61: |
| | | |
| <!--T:18--> | | <!--T:18--> |
− | To hide the link to [[Special:ExtensionDistributor]], add set <code>nosnapshot=1</code>.</translate> | + | To hide the link to [[Special:ExtensionDistributor]], add set <code>nosnapshot=1</code>. |
| | | |
| <!--T:19--> | | <!--T:19--> |
Line 67: |
Line 67: |
| | | |
| <!--T:20--> | | <!--T:20--> |
− | By default links for both links for where extension would be on svn.wikimedia.org and gerrit.wikimedia.org would be are shown.</translate> | + | By default links for both links for where extension would be on svn.wikimedia.org and gerrit.wikimedia.org would be are shown. |
| | | |
| <!--T:21--> | | <!--T:21--> |
| To only show a particular one, use the <code>server=</code> parameter. | | To only show a particular one, use the <code>server=</code> parameter. |
− | </translate>
| + | |
| | | |
| <pre>{{WikimediaDownload|SyntaxHighlight_GeSHi}}</pre> | | <pre>{{WikimediaDownload|SyntaxHighlight_GeSHi}}</pre> |
Line 98: |
Line 98: |
| | | |
| == See also == <!--T:24--> | | == See also == <!--T:24--> |
− | </translate>
| + | |
| * {{ll|Template:WikimediaGitCheckout}} | | * {{ll|Template:WikimediaGitCheckout}} |
| * {{ll|Template:WikimediaSvnCheckout}} | | * {{ll|Template:WikimediaSvnCheckout}} |