Template:Git summary/doc
Appearance
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
[edit]{{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
[edit]- {{Git file }}, a richer template.
- {{Gitblit }}, the old template that links to gerrit/gitweb. This uses the same syntax (positional and biased towards extensions).