Difference between revisions of "Template:Git file"
m
Reverted edits by 70.50.80.179 (talk) to last revision by BDavis (WMF)
(Blanked the page) |
>Mainframe98 m (Reverted edits by 70.50.80.179 (talk) to last revision by BDavis (WMF)) |
||
Line 1: | Line 1: | ||
[[phab:/r/p/{{{project|mediawiki/core}}};{{#switch:{{{action|}}} | |||
|raw|browse=browse | |||
|tree=browse| | |||
|#default= {{{action|browse}}} | |||
}}/{{#if:{{{branch|}}} | |||
|{{#ifeq:{{{branch|}}}|HEAD|master|{{{branch}}}}} | |||
|master | |||
}}/{{{file|}}}{{#if:{{{sha|}}} | |||
|%3b{{{sha}}} | |||
}}{{#if:{{{line|}}} | |||
|${{{line}}} | |||
}}{{#ifeq:{{{action|}}}|raw | |||
|?view=raw | |||
| | |||
}}{{!}}{{#if:{{{text|}}} | |||
|{{{text}}} | |||
|{{{file}}} | |||
}}]]<!-- | |||
-->{{#ifeq:{{{action|}}}|blob_plain | |||
|<span style="display:none">[[Template:Git file/blob_plain]]</span>}}<!-- | |||
-->{{#ifeq:{{{action|}}}|shortlog | |||
|<span style="display:none">[[Template:Git file/shortlog]]</span>}}<noinclude> | |||
{{doc}} | |||
<small>Maintenance: | |||
[[Special:WhatLinksHere/Template:Git file/blob_plain|blob_plain]], | |||
[[Special:WhatLinksHere/Template:Git file/shortlog|shortlog]], [[Module:Callsigns]]</small> | |||
{{Category|External link templates}} | |||
</noinclude> |