Template:Gerrit-reviewer
Jump to navigation
Jump to search
Examples:
{{Gerrit-reviewer|Gerrit username}}
→ Gerrit username{{Gerrit-reviewer|Gerrit username|file_regexp=<nowiki>\.(txt|php)$</nowiki>}}
→ Gerrit username (only commits where at least one of the changed files match /\.(txt|php)$
/)- Note: Don't forget to use <nowiki> tags fot the
file_regexp
parameter, if you want to have template-specific characters in the regexp, such as|
- Note: Don't forget to use <nowiki> tags fot the
{{Gerrit-reviewer|Gerrit username|file_regexp=<nowiki>^includes/.+\.php$</nowiki>|match_all_files}}
→ Gerrit username (only commits where all of the changed files match /^includes/.+\.php$
/){{Gerrit-reviewer|Gerrit username|file_regexp=<nowiki>^includes/.+\.php$</nowiki>||only_match_new_files}}
→ Gerrit username (only commits where all of the changed files match /^includes/.+\.php$
/)