Difference between revisions of "Template:Git file"
fix line parameter to use Gitblit syntax, make file optional
>Mattflaschen (convert to use urlencode for project (staff)) |
>SPage (WMF) (fix line parameter to use Gitblit syntax, make file optional) |
||
Line 1: | Line 1: | ||
[https://git.wikimedia.org/{{{action|blob}}}/{{urlencode:{{{project|mediawiki/core}}}}}.git/HEAD/{{urlencode:{{{file}}}}}{{#if:{{{line|}}}|# | [https://git.wikimedia.org/{{{action|blob}}}/{{urlencode:{{{project|mediawiki/core}}}}}.git/HEAD/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}}|#L{{{line}}}}} {{#if:{{{text|}}}|{{{text}}}|{{{file}}}}}]<noinclude> | ||
{{doc}} | {{doc}} | ||
</noinclude> | </noinclude> |