Template:Gerrit-reviewer/nl
[[gerrit:q/owner:%22%7B%7B%7B1%7D%7D%7D%22|{{{1}}}]]
Examples:
{{ Gerrit-reviewer/nl|Gerrit username}}
→ Gerrit username{{ Gerrit-reviewer/nl|Gerrit username|file_regexp=<nowiki>\.(txt|php)$</nowiki>}}
→ Gerrit username (alleen commits waar minstens een van de gewijzigde bestanden overeenkomen met /\.(txt|php)$
/)- File:OOjs UI icon lightbulb-yellow.svg <translate> Note:</translate> Don't forget to use <nowiki> tags for the
file_regexp
parameter, if you want to have template-specific characters in the regexp, such as|
- File:OOjs UI icon lightbulb-yellow.svg <translate> Note:</translate> Don't forget to use <nowiki> tags for the
{{ Gerrit-reviewer/nl|Gerrit username|file_regexp=<nowiki>^includes/.+\.php$</nowiki>|match_all_files}}
→ Gerrit username (alleen commits waar alle gewijzigde bestanden overeenkomen met /^includes/.+\.php$
/){{ Gerrit-reviewer/nl|Gerrit username|file_regexp=<nowiki>^includes/.+\.php$</nowiki>||only_match_new_files}}
→ Gerrit username (alleen commits waar minstens een van de nieuwe bestanden overeenkomen met /^includes/.+\.php$
/)
<templatedata> { "params": { "1": { "label": "Gerrit username", "description": "Your username on gerrit.wikimedia.org", "type": "string", "required": true }, "2": { "description": "If you set this to match_all_files, the file regexp must match all changed files in the commit, not just one of them", "type": "string" }, "3": { "description": "Set this to only_match_new_files to make the file regexp only look at new files created by the commit" }, "file_regexp": { "label": "File path regexp", "description": "Only subscribe to commits where at least one of the files matches this regexp. Don't forget to wrap this in tags if you use | or other special characters", "example": "<nowiki>\\.(txt|php)$", "type": "string", "suggested": true } }, "description": "Add this template to Git/Reviewers to be automatically added as a reviewer on Gerrit changes that match certain criteria", "format": "inline" } </templatedata>