Template:Git summary/doc

From Bonkipedia
< Template:Git summary
Revision as of 22:22, 15 October 2014 by [[mw:]]>Krinkle
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Git summary


Generate a link to a repository's summary page on git.wikimedia.org, our Gitblit server.

Template parameters

ParameterDescriptionTypeStatus
Repository name1

Name of the repository on git.wikimedia.org

Stringrequired
Label2

Label text of the link

Default
Repository name
Stringoptional
Repository parent3

Parent path to repository

Default
mediawiki/extensions/
Stringoptional

Example

{{Git_summary|examples}}

examples

If the repo is not in mediawiki/extensions then you have to provide a path (the third parameter), for example:

{{Git_summary|vagrant|MW-Vagrant|mediawiki}}

MW-Vagrant

{{git summary|jenkins-job-builder-config| |integration}}

integration/jenkins-job-builder-config

See also

  • {{Git file}}, a richer template.
  • {{Gitweb}}, the old template that links to gerrit/gitweb. This uses the same syntax (positional and biased towards extensions).