Template:Gerrit

From MediaWiki.org
(Redirected from Template:Gerrit/Lua rewrite)
Jump to navigation Jump to search

Search Gerrit for example

Template documentation

Usage[edit]

Produce a link to a Git commit or Gerrit changeset.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
ID1

The SHA1 hash of the Git commit, or Gerrit change number, or Gerrit Change-Id hash

Stringrequired

Example[edit]

Testing main template[edit]

{{Gerrit}}

Search Gerrit for example

Testing Gerrit change number[edit]

{{Gerrit|4203}}

Gerrit change 4203

Testing Gerrit change id[edit]

{{Gerrit|I2d7d6eeef07552b796a68963ccd4f89f4c5939d7}}

Gerrit #I2d7d6e

Testing Git commit id[edit]

{{Git|3b85ab0624afe5a53bb60c558f0bef4d6dfb43cd}}

git #3b85ab06

{{Git|3b85ab0}}

git #3b85ab0

See also[edit]


Link to a Gerrit change

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Change number or change ID1

Change number or Change-Id in Wikimedia's Gerrit

Example
12345
Stringrequired