You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Gerrit/doc

From Wikitech-static
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Lua banner.tab.

Usage examples

Without any parameter

Wikitext: {{Gerrit}}

Render:

example

Link to a change

Wikitext: {{Gerrit|4203}}

Render a link to change number 4203:

4203

With deploy commands

Wikitext: {{Gerrit|688200|bacc=y}}

Render:

688200 (deploy commands)

On the deployment calendar bacc is enabled by default.

Link to Gerrit change id

Wikitext: {{Gerrit|I2d7d6eeef07552b796a68963ccd4f89f4c5939d7}}

Render:

I2d7d6e

Link to Git commit hash

Wikitext: {{Git|3b85ab0624afe5a53bb60c558f0bef4d6dfb43cd}}

Render:

3b85ab0

Wikitext: {{Git|3b85ab0}}

Render:

3b85ab0

Parameters description

<templatedata> { "params": { "1": { "label": "Identifier", "description": "The git commit hash, gerrit change number, or gerrit Change-Id", "type": "string", "required": true, "suggested": true } }, "format": "inline" } </templatedata>