Template:Git repo
From Bonkipedia
Revision as of 05:49, 26 February 2022 by [[mw:]]>Shirayuki (plainlinks)
Template documentation
This page is currently a draft.
|
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
- text
{{git repo |project=oojs/core |text=OOjs (core)}}
produces
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
sub_url | sub_url | no description | Unknown | optional |
callsigns | callsigns | no description | Unknown | optional |
project | project | no description | Unknown | optional |
text | text | no description | Unknown | optional |