Template:Git summary/doc
From Bonkipedia
< Template:Git summary
Revision as of 18:02, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Template documentation pages)
This is a documentation subpage for Template:Git summary. It contains usage information, categories and other content that is not part of the original Template page. |
Generate a link to a repository's summary page on git.wikimedia.org, our Gitblit server.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Repository name | 1 | Name of the repository on git.wikimedia.org | String | required |
Label | 2 | Label text of the link
| String | optional |
Repository parent | 3 | Parent path to repository
| String | optional |
Example
{{Git_summary|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}}
{{git summary|jenkins-job-builder-config| |integration}}
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).