Template:Gitblit: Difference between revisions

From Bonkipedia
[[mw:]]>SPage (WMF)
m (categories are in /doc subpage)
 
m (1 revision imported: Workaround and Utility Templates)
 
(No difference)

Latest revision as of 17:52, 12 November 2022

{{{1}}}

Template documentation

Deprecated, use {{git repo}} instead.

Generates a link to a repository's summary page. This invokes {{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

{{Gitblit|examples}}

generates examples

{{gitblit|browsertests| |qa/}}

generates qa/browsertests

{{gitblit|browsertests|Our browsertests repository|qa/}}

generates Our browsertests repository