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
< Template:Gerrit
Revision as of 16:01, 9 August 2018 by imported>Krinkle (subst)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Examples

Testing main template

{{Gerrit}}

example

Testing Gerrit change number

{{Gerrit|4203}}

4203

Testing Gerrit change id

{{Gerrit|I2d7d6eeef07552b796a68963ccd4f89f4c5939d7}}

I2d7d6e

Testing Git commit hash

{{Git|3b85ab0624afe5a53bb60c558f0bef4d6dfb43cd}}

3b85ab0

{{Git|3b85ab0}}

3b85ab0

Usage

<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>