Template:BugBotRule: Difference between revisions
Jump to navigation
Jump to search
(Rename the template to BugBotRule) |
(Add an option to hide the source code link for removed tools) |
||
Line 10: | Line 10: | ||
| Source = assignee_but_unconfirmed.py | | Source = assignee_but_unconfirmed.py | ||
| Note = optional parameter, adds an explanation line | | Note = optional parameter, adds an explanation line | ||
| Removed = optional parameter, "yes" if the tool is removed from the source code | |||
}} | }} | ||
</pre> | </pre> | ||
Line 35: | Line 36: | ||
</tr> | </tr> | ||
}} | }} | ||
{{#if:{{{Removed}}}| | |||
<tr style="vertical-align: top;"> | <tr style="vertical-align: top;"> | ||
<th style="border: 1px solid lavender; padding: 0 0.5em;">Code</th> | <th style="border: 1px solid lavender; padding: 0 0.5em;">Code</th> | ||
<td style="border: 1px solid lavender; padding: 0 0.5em;"><code>[https://github.com/mozilla/bugbot/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td> | <td style="border: 1px solid lavender; padding: 0 0.5em;"><code>[https://github.com/mozilla/bugbot/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td> | ||
</tr> | </tr> | ||
}} | |||
{{#if:{{{Note|}}}| | {{#if:{{{Note|}}}| | ||
<tr style="vertical-align: top;"> | <tr style="vertical-align: top;"> |
Revision as of 12:58, 27 April 2023
This is the "BugBotRule" template. It should be called in the following format:
{{BugBotRule | Rule name = Bug assigned but marked as <code>UNCONFIRMED</code> | Purpose = Mitigate an issue in Bugzilla (bugs reported by new users are not tagged as <code>NEW</code>) | Action = Change the status from unconfirmed to assigned if there is an assignee | Example = 1495908 | Source = assignee_but_unconfirmed.py | Note = optional parameter, adds an explanation line | Removed = optional parameter, "yes" if the tool is removed from the source code }}
Edit the page to see the template text.