模板:Gitblit/doc
外观
(重定向自模板:Gitweb/doc)
| 文件:Codex icon book color-base.svg | This is a documentation subpage for 模板:Gitblit. It contains usage information, categories and other content that is not part of the original 模板 page. |
| 文件:OOjs UI icon alert-destructive.svg | Deprecated: use [[git:]] interwiki link instead. |
Usage
- Params
- $1: extension or repository name, defaults to empty string. no leading whitespace
- $2: link text, defaults to $1
- $3: path to the repo including trailing /, defaults to mediawiki/extensions/
Example
{{Gitblit|examples}}
- generates examples
{{gitblit|browsertests| |qa/}}
{{gitblit|browsertests|Our browsertests repository|qa/}}
- generates Our browsertests repository