Template:Gerrit-reviewer

From Encyclopedia of Scientonomy
Jump to navigation Jump to search

{{{1}}}

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 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 |
  • {{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$/)