Template:BugBotRule: Difference between revisions
Jump to navigation
Jump to search
(Update the rules path) |
(Support rule ID) |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{BugBotRule | {{BugBotRule | ||
| Rule ID = 145 | |||
| Rule name = Bug assigned but marked as <code>UNCONFIRMED</code> | | 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>) | | Purpose = Mitigate an issue in Bugzilla (bugs reported by new users are not tagged as <code>NEW</code>) | ||
Line 14: | Line 15: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly><h3 id="{{{ Source }}}" style="font-weight: unset; margin-bottom: 0; font-size: 130%; "> {{{ Rule name }}}</h3> | </noinclude><includeonly> | ||
{{#if:{{{Rule ID|}}}| | |||
<span id="rule-{{{ Rule ID }}}">Rule {{{ Rule ID }}}:</span> | |||
}} | |||
<h3 id="{{{ Source }}}" style="font-weight: unset; margin-bottom: 0; font-size: 130%; ">{{{ Rule name }}}</h3> | |||
<table style="border-collapse: collapse; text-align: left; width: calc(100% - 20px); margin: 0 10px 0 0;"> | <table style="border-collapse: collapse; text-align: left; width: calc(100% - 20px); margin: 0 10px 0 0;"> | ||
<tr style="vertical-align: top;"> | <tr style="vertical-align: top;"> |
Revision as of 23:52, 22 May 2023
This is the "BugBotRule" template. It should be called in the following format:
{{BugBotRule | Rule ID = 145 | 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.