Template:Git summary/doc
Jump to navigation
Jump to search
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).