Difference between revisions of "Template:Git file"

From WPRDC Wiki
Jump to navigation Jump to search
>Automatik
((partial) undo revision 1664733 by Automatik (talk))
>Krinkle
(Fix broken urls. Slash must be encoded otherwise it tries to open the first part of the url instead of the actual fil epath)
Line 5: Line 5:
   |{{{branch}}}
   |{{{branch}}}
   |HEAD
   |HEAD
}}/{{urlencode:{{{file|}}}|WIKI}}{{#if:{{{line|}}}
}}/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}}
   |#L{{{line}}}
   |#L{{{line}}}
}} {{#if:{{{text|}}}
}} {{#if:{{{text|}}}

Revision as of 23:39, 3 June 2015