Template:Git repo

From Bonkipedia

MW core

Template documentation

This generates a link to a project summary in Diffusion. It's more concise than using {{git file}}

Usage

Basic
{{git repo |project=mediawiki/extensions/Flow }}

produces

mediawiki/extensions/Flow
text
{{git repo |project=oojs/core |text=OOjs (core)}}

produces

OOjs (core)

Parameters

project
defaults to mediawiki/core. Must be entire path to project — e.g. mediawiki/extensions/EventLogging, not "EventLogging" and without any .git suffix. The template uses Module:Callsigns to map this to a Diffision "callsign", e.g. EEVL.
text
optional. The text that's linked. If not specified, defaults to project.

See also

  • {{git file}} links to particular files in a project
  • lots of other fancy templates for extensions on gerrit, see Category:Git.
  • {{github}}

Usage

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
sub_urlsub_url

no description

Unknownoptional
callsignscallsigns

no description

Unknownoptional
projectproject

no description

Unknownoptional
texttext

no description

Unknownoptional