跳转到内容

模板:Gerrit-reviewer/tr

来自天灾之下:危险连接资料站
wiki>FuzzyBot2021年9月5日 (日) 08:34的版本 (Updating to match new version of source page)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)


[[gerrit:q/owner:%22%7B%7B%7B1%7D%7D%7D%22|{{{1}}}]]

模板文档

Examples:

  • {{ Gerrit-reviewer/tr|Gerrit username}} → Gerrit username
  • {{ Gerrit-reviewer/tr|Gerrit username|file_regexp=<nowiki>\.(txt|php)$</nowiki>}} → Gerrit username (yalnızca en az bir tane değiştirilmiş /\.(txt|php)$/ ile dosya eşleştiği durumda işleme koyar)
    <translate> Note</translate> <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 |
  • {{ Gerrit-reviewer/tr|Gerrit username|file_regexp=<nowiki>^includes/.+\.php$</nowiki>|match_all_files}} → Gerrit username (yalnızca tümü değiştirilmiş /^includes/.+\.php$/ ile dosya eşleştiği durumda işleme koyar)
  • {{ Gerrit-reviewer/tr|Gerrit username|file_regexp=<nowiki>^includes/.+\.php$</nowiki>||only_match_new_files}} → Gerrit username (yalnızca en az bir tane yeni /^includes/.+\.php$/ ile dosya eşleştiği durumda işleme koyar)

Add this template to [[Git/Reviewers]] to be automatically added as a reviewer on Gerrit changes that match certain criteria

模板参数[编辑模板数据]

此模板首选参数不换行的行内格式。

参数描述类型状态
Gerrit username1

Your username on gerrit.wikimedia.org

字符串必需
22

If you set this to match_all_files, the file regexp must match all changed files in the commit, not just one of them

字符串可选
33

Set this to only_match_new_files to make the file regexp only look at new files created by the commit

未知可选
File path regexpfile_regexp

Only subscribe to commits where at least one of the files matches this regexp. Don't forget to wrap this in <nowiki> tags if you use | or other special characters

示例值
<nowiki>\.(txt|php)$</nowiki>
字符串推荐