Changes
Undid revision 3156639 by 2001:5B0:2A6D:ED88:D18F:BC8E:5037:5751 (talk)
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
This generates a link to a project summary in [[Diffusion]].
It's more concise than using ''{tlx|git file|action=summary}}''
== Usage ==
; Basic
<nowiki>{{git repo</nowiki> |project=mediawiki/extensions/''Flow'' }}
produces
:{{git repo |project=mediawiki/extensions/Flow }}
; text
<nowiki>{{git repo</nowiki> |project=oojs/core |text=OOjs (core)}}
produces
:{{git repo |project=oojs/core |text=OOjs (core)}}
=== Parameters ===
; project
: defaults to mediawiki/core. Must be entire path to project — e.g. mediawiki/extensions/EventLogging, not "EventLogging" and without any <tt>.git</tt> 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 ==
* {{tl|git file}} links to particular files in a project
* lots of other fancy templates for extensions on gerrit, see [[:Category:Git]].
* {{tl|github}}
== Usage ==
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Git| ]]
{{Category|External link templates}}
}}</includeonly>
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
This generates a link to a project summary in [[Diffusion]].
It's more concise than using ''{tlx|git file|action=summary}}''
== Usage ==
; Basic
<nowiki>{{git repo</nowiki> |project=mediawiki/extensions/''Flow'' }}
produces
:{{git repo |project=mediawiki/extensions/Flow }}
; text
<nowiki>{{git repo</nowiki> |project=oojs/core |text=OOjs (core)}}
produces
:{{git repo |project=oojs/core |text=OOjs (core)}}
=== Parameters ===
; project
: defaults to mediawiki/core. Must be entire path to project — e.g. mediawiki/extensions/EventLogging, not "EventLogging" and without any <tt>.git</tt> 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 ==
* {{tl|git file}} links to particular files in a project
* lots of other fancy templates for extensions on gerrit, see [[:Category:Git]].
* {{tl|github}}
== Usage ==
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Git| ]]
{{Category|External link templates}}
}}</includeonly>