Difference between revisions of "Template:Git file"

From WPRDC Wiki
Jump to navigation Jump to search
>BDavis (WMF)
(Use phab: interwiki for links)
(Blanked the page)
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>

Revision as of 06:22, 6 March 2018