Difference between revisions of "Template:WikimediaDownload"

From eLinux.org
Jump to: navigation, search
m (1 revision: Importing Help again, with additional pages.)
Line 1: Line 1:
[[Special:ExtensionDistributor/{{{1|{{PAGENAME}}}}}|Download snapshot]]<br />
+
<div class="plainlinks" style="white-space: nowrap;">{{#if: {{{nosnapshot|}}}
[http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/{{{1|{{PAGENAME}}}}}/ Subversion] <sup>[<span></span>[[Subversion|Help]]]</sup><br />
+
|
[http://svn.wikimedia.org/viewvc/mediawiki/trunk/extensions/{{{1|{{PAGENAME}}}}}/ Browse source code]<br />
+
| {{#ifeq: {{{server|gerrit}}} | gerritonly
<noinclude>{{Documentation}}[[Category:Link templates|{{PAGENAME}}]]{{language}}</noinclude><includeonly>[[Category:Extensions in Wikimedia version control]]</includeonly>
+
<!-- -->| {{DownloadGitSnapshot|{{{1|{{PAGENAMEE}}}}}| '''Download Git master'''}} <br />
 +
<!-- -->| {{#ifeq: {{{server|gerrit}}} | svn | <!-- distributor broken for svn-only (bug 38188) --> | [[Special:ExtensionDistributor/{{{1|{{PAGENAME}}}}}|'''Download snapshot''']] }} <!--
 +
      -->{{#ifeq: {{{server|gerrit}}} | gerrit | ({{DownloadGitSnapshot|{{{1|{{PAGENAMEE}}}}}|Git master}})<br/> }}
 +
}}
 +
}}<!--
 +
 
 +
-->{{#ifeq: {{{server|gerrit}}} | svn |
 +
| Git <sup>[<nowiki/>[[Download_from_Git|?]]<nowiki/>]</sup>:
 +
* [https://git.wikimedia.org/summary/mediawiki%2Fextensions%2F{{{1|{{urlencode:{{PAGENAME}}|WIKI}}}}} repo summary]
 +
* [https://git.wikimedia.org/tree/mediawiki%2Fextensions%2F{{{1|{{urlencode:{{PAGENAME}}|WIKI}}}}} browse file tree]
 +
* [https://git.wikimedia.org/log/mediawiki%2Fextensions%2F{{{1|{{urlencode:{{PAGENAME}}|WIKI}}}}} commit history]
 +
}}<!--
 +
 
 +
-->{{#ifeq: {{{server|gerrit}}} | svn
 +
| SVN <sup>[<nowiki/>[[Subversion|?]]<nowiki/>]</sup>:
 +
* [//svn.wikimedia.org/svnroot/mediawiki/{{{2|trunk}}}/extensions/{{{1|{{urlencode:{{PAGENAME}}|WIKI}}}}}/ svn checkout url]
 +
* [//svn.wikimedia.org/viewvc/mediawiki/{{{2|trunk}}}/extensions/{{{1|{{urlencode:{{PAGENAME}}|WIKI}}}}}/ browse file tree]
 +
* [{{fullurl:Special:Code/MediaWiki|path={{urlencode:/trunk/extensions/{{{1|{{urlencode:{{PAGENAME}}|WIKI}}}}}/}}}} commit history]
 +
}}<!--
 +
 
 +
--></div><!--
 +
--><includeonly>{{#switch:{{{server|}}}
 +
|svn=<span style="display:none">[[Template:WikimediaDownload/svn]]</span>
 +
|gerrit=<span style="display:none">[[Template:WikimediaDownload/gerrit]]</span>
 +
|gerritonly=<span style="display:none">[[Template:WikimediaDownload/gerritonly]]</span>
 +
}}<!--
 +
-->[[Category:Extensions in Wikimedia version control]]</includeonly><noinclude>
 +
{{Documentation}}
 +
<small>Maintenance:
 +
[[Special:WhatLinksHere/Template:WikimediaDownload/svn|server=svn]],
 +
[[Special:WhatLinksHere/Template:WikimediaDownload/gerrit|server=gerrit]],
 +
[[Special:WhatLinksHere/Template:WikimediaDownload/gerritonly|server=gerritonly]],
 +
</small>
 +
</noinclude>

Revision as of 08:44, 12 May 2014

Documentation icon Template documentation[create]

Maintenance: server=svn, server=gerrit, server=gerritonly,