Difference between revisions of "Template:Git file"

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