Difference between revisions of "Template:Git file"

From WPRDC Wiki
Jump to navigation Jump to search
>Legoktm
(use #if for branch)
(Fix action default)
Line 1: Line 1:
[https://git.wikimedia.org/{{{action|blob}}}/{{urlencode:{{{project|mediawiki/core}}}}}.git/{{#if:{{{branch|}}}|{{{branch}}}|HEAD}}/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}}
[https://git.wikimedia.org/{{#if:{{{action|}}}|{{{action}}}|blob}}/{{urlencode:{{{project|mediawiki/core}}}}}.git/{{#if:{{{branch|}}}|{{{branch}}}|HEAD}}/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}}
   |#L{{{line}}}
   |#L{{{line}}}
}} {{#if:{{{text|}}}
}} {{#if:{{{text|}}}

Revision as of 07:57, 21 December 2013