Difference between revisions of "Template:Git file"

22 bytes added ,  07:57, 21 December 2013
Fix action default
>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|}}}
Anonymous user