Difference between revisions of "Template:Git file"
Fix action default
>Legoktm (use #if for branch) |
(Fix action default) |
||
Line 1: | Line 1: | ||
[https://git.wikimedia.org/{{{action|blob | [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|}}} |