Difference between revisions of "Template:Git file"
Jump to navigation
Jump to search
>SPage (WMF) (I fixed MWDumper in Module:Callsigns, so Undo revision 1901442 by Ciencia Al Poder (talk)) |
>Paladox (This fixes most issues with you carn't view a file in change with this fix you can.) |
||
Line 1: | Line 1: | ||
[https://phabricator.wikimedia.org/ | [https://phabricator.wikimedia.org/r/p/{{{project|mediawiki/core}}};{{#switch:{{{action|}}} | ||
|raw | |raw|browse=browse | ||
|#default= {{{action|browse}}} | |#default= {{{action|browse}}} | ||
}}/{{#if:{{{branch|}}} | }}/{{#if:{{{branch|}}} | ||
|{{#ifeq:{{{branch|}}}|HEAD|master|{{{branch}}}}} | |{{#ifeq:{{{branch|}}}|HEAD|master|{{{branch}}}}} | ||
|master | |master | ||
}}/{{{file|}}}{{#if:{{{line|}}} | }}/{{{file|}}}{{#if:{{{sha|}}} | ||
|%3b{{{sha}}} | |||
}}{{#if:{{{line|}}} | |||
|${{{line}}} | |${{{line}}} | ||
}}{{#ifeq:{{{action|}}}|raw | }}{{#ifeq:{{{action|}}}|raw | ||
|?view=raw | |?view=raw | ||
| | | | ||
}} {{#if:{{{text|}}} | }} {{#if:{{{text|}}} |
Revision as of 23:20, 7 June 2016
{{{file}}} Template:Doc Maintenance: blob_plain, shortlog, Module:Callsigns Template:Category