Template:Patchboard/sandbox
username: [repo] XXXX — patch subject
This is the template sandbox page for Template:Patchboard (diff). See also the companion subpage for test cases. |
Usage
editFor 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
editThis is the TemplateData documentation for this template used by VisualEditor and other tools.
Patchboard
Use this template to add a formatted patch board request to the code review board.
Parameter | Description | Type | Status | |
---|---|---|---|---|
gerrit username | 1 | Your Gerrit username
| String | required |
repo name | 2 | The name of the git repo the patch is for
| String | required |
gerrit change number | 3 | The gerrit change number of the patch to be displayed
| Number | required |
subject line | 4 | The subject line of the patch
| String | required |
merged | 5 | If the patch should be displayed as merged
| Boolean | optional |