Difference between revisions of "Template:Git file"

From WPRDC Wiki
Jump to navigation Jump to search
>Legoktm
(use #if for branch)
>Mtarch11
m (Reverted edits by Brighton City Council (talk) to last version by ExE Boss)
 
(34 intermediate revisions by 20 users not shown)
Line 1: Line 1:
[https://git.wikimedia.org/{{{action|blob}}}/{{urlencode:{{{project|mediawiki/core}}}}}.git/{{#if:{{{branch|}}}|{{{branch}}}|HEAD}}/{{urlencode:{{{file|}}}}}{{#if:{{{line|}}}
<onlyinclude>[[git:{{{project|mediawiki/core}}}/{{#switch:{{{action|browse}}}
  |&#35;L{{{line}}}
  |blame=+blame
}} {{#if:{{{text|}}}
  |shortlog
  |{{{text}}}
  |history=+log
  |{{{file}}}
  |raw
}}]<!--
  |browse
-->{{#ifeq:{{{action|}}}|blob_plain
  |tree
|<span style="display:none">[[Template:Git file/blob_plain]]</span>}}<!--
  |summary
-->{{#ifeq:{{{action|}}}|shortlog
  |#default=+
|<span style="display:none">[[Template:Git file/shortlog]]</span>}}<noinclude>
}}/{{#if:{{{sha|}}}
{{doc}}
  |{{{sha}}}
<small>Maintenance:
  |{{#ifeq:{{{branch|}}}|master|HEAD|{{{branch|HEAD}}}|HEAD}}
[[Special:WhatLinksHere/Template:Git file/blob_plain|blob_plain]],
}}/{{#if:{{{file|}}}
[[Special:WhatLinksHere/Template:Git file/shortlog|shortlog]]</small>
|{{{file}}}
{{Category|Link templates}}
}}{{#if:{{{line|}}}
{{Category|External link templates}}
|&#35;{{#if:{{{line|}}}|{{{line}}}}}
</noinclude>
}}|{{#if:{{{text|}}}|{{{text}}}|{{{file}}}}}]]</onlyinclude>
{{Documentation}}

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.