跳转到内容

模板:Git summary/doc

来自天灾之下:危险连接资料站
wiki>Uzume2024年8月20日 (二) 10:25的版本 (→See also)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Template:Git summary


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

模板参数

参数描述类型状态
Repository name1

Name of the repository on git.wikimedia.org

字符串必需
Label2

Label text of the link

默认值
Repository name
字符串可选
Repository parent3

Parent path to repository

默认值
mediawiki/extensions/
字符串可选

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.
  • {{Gitblit }}, the old template that links to gerrit/gitweb. This uses the same syntax (positional and biased towards extensions).