Difference between revisions of "Template:Git file"

From WPRDC Wiki
Jump to navigation Jump to search
>SPage (WMF)
(Fix action=blame, map it to /browse/path/to/file ?blame=1)
>Mtarch11
m (Reverted edits by Brighton City Council (talk) to last version by ExE Boss)
 
(26 intermediate revisions by 17 users not shown)
Line 1: Line 1:
[https://phabricator.wikimedia.org/diffusion/{{#invoke:callsigns|repoToCallsign|{{{project|mediawiki/core}}}}}/{{#if:{{{action|}}}
<onlyinclude>[[git:{{{project|mediawiki/core}}}/{{#switch:{{{action|browse}}}
   |{{#ifeq:{{{action|}}}|raw|browse|{{#ifeq:{{{action|}}}|blame|browse|{{{action}}}}}}}
   |blame=+blame
  |shortlog
  |history=+log
  |raw
   |browse
   |browse
}}/{{#if:{{{branch|}}}
  |tree
   |{{#ifeq:{{{branch|}}}|HEAD|master|{{{branch}}}}}
  |summary
  |master
  |#default=+
}}/{{{file|}}}{{#if:{{{line|}}}
}}/{{#if:{{{sha|}}}
  |${{{line}}}
  |{{{sha}}}
}}{{#ifeq:{{{action|}}}|raw
   |{{#ifeq:{{{branch|}}}|master|HEAD|{{{branch|HEAD}}}|HEAD}}
  |?view=raw
}}/{{#if:{{{file|}}}
  |
|{{{file}}}
}}{{#ifeq:{{{action|}}}|blame
}}{{#if:{{{line|}}}
  |?blame=1
|&#35;{{#if:{{{line|}}}|{{{line}}}}}
  |
}}|{{#if:{{{text|}}}|{{{text}}}|{{{file}}}}}]]</onlyinclude>
}} {{#if:{{{text|}}}
{{Documentation}}
  |{{{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|Link templates}}
{{Category|External link templates}}
</noinclude>

Latest revision as of 00:29, 19 August 2021

{{{file}}} Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.