Template:Patchboard
username: [repo] XXXX — patch subject
Usage
For use on the Code review/patch board.
{{patchboard|Gerrit username|repo name|gerrit change number|subject line of patch}}
For example:
- {{patchboard|TheresNoTime|mediawiki/core|762102|Allow searching the move log by destination title}}
gives the output:
- TheresNoTime: [mediawiki/core] 762102 — Allow searching the move log by destination title
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Patchboard
<templatedata> { "description": { "en": "Use this template to add a formatted patch board request to the code review board." }, "format": "inline", "params": { "1": { "label": { "en": "gerrit username" }, "description": { "en": "Your Gerrit username" },
"example": "TheresNoTime",
"required": true, "type": "string" },
"2": {
"label": { "en": "repo name" }, "description": { "en": "The name of the git repo the patch is for" },
"example": "mediawiki/core",
"required": true, "type": "string" },
"3": {
"label": { "en": "gerrit change number" }, "description": { "en": "The gerrit change number of the patch to be displayed" },
"example": "762102",
"required": true, "type": "number" },
"4": {
"label": { "en": "subject line" }, "description": { "en": "The subject line of the patch" },
"example": "Allow searching the move log by destination title",
"required": true, "type": "string" },
"5": {
"label": { "en": "merged" }, "description": { "en": "If the patch should be displayed as merged" },
"default": "false",
"required": false, "type": "boolean" } } } </templatedata>