Changes

1,182 bytes added ,  22:11, 25 December 2017
no edit summary
<noinclude>{{Documentation subpage}}
{{timw|{{BASEPAGENAME}}}}
</noinclude>
''Deprecated, use {{tl|git repo}} instead.''

Generates a link to a repository's summary page. This invokes {{tl|Git repo}} with logic to just provide an extension name instead.

We are deprecating Gitblit at git.wikimedia.org in favor of [[Diffusion]] ([[phab:T108864]]), so this template's name is misleading.

==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==
{{tlx|Gitblit|examples}}
: generates {{Gitblit|examples}}

<!-- tlx *GARBLES and OMITS* the deliberately missing 2nd parameter, so insert space! -->
{{tlx|gitblit|browsertests|&nbsp;|qa/}}
: generates {{gitblit|browsertests| |qa/}}

{{tlx|gitblit|browsertests|Our browsertests repository|qa/}}
: generates {{gitblit|browsertests|Our browsertests repository|qa/}}

<includeonly>
<!-- PUT HERE THE CATEGORIES OF THE TEMPLATE -->
[[Category:Extension templates{{#translation:}}]]
{{Category|External link templates}}
[[Category:Git{{#translation:}}]]
</includeonly>
Anonymous user