Template:BugBotRule: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(css)
(css)
Line 22: Line 22:


=== {{{ Rule name }}} ===
=== {{{ Rule name }}} ===
<table style="border-collapse: collapse; text-align: left; width: calc(100% - 20px); margin: 10px;">
<table style="text-indent: 0.5em; border-collapse: collapse; text-align: left; width: calc(100% - 20px); margin: 10px;">
   <tr style="border: 1px solid lightskyblue;">
   <tr>
    <th style="background-color: lightskyblue">Purpose</th>
    <th style="border: 1px solid lightskyblue; background-color: lightskyblue">Purpose</th>
     <td>{{{ Purpose }}}</td>
     <td style="border: 1px solid lightskyblue;">{{{ Purpose }}}</td>
   </tr>
   </tr>
   <tr style="border: 1px solid lightskyblue;">
   <tr>
    <th style="background-color: greenyellow">Action</th>
    <th style="border: 1px solid lightskyblue; background-color: greenyellow">Action</th>
     <td>{{{ Action }}}</td>
     <td style="border: 1px solid lightskyblue;">{{{ Action }}}</td>
   </tr>
   </tr>
   <tr style="border: 1px solid lightskyblue;">
   <tr>
    <th style="background-color: aliceblue">Example</th>
    <th style="border: 1px solid lightskyblue; background-color: aliceblue;">Example</th>
     <td>[https://bugzilla.com/{{{Example}}} Bug {{{Example}}}]</td>
     <td style="border: 1px solid lightskyblue;">[https://bugzilla.com/{{{Example}}} Bug {{{Example}}}]</td>
   </tr>
   </tr>
   <tr style="border: 1px solid lightskyblue;">
   <tr>
    <th>Code</th>
    <th style="border: 1px solid lightskyblue;">Code</th>
     <td><code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
     <td style="border: 1px solid lightskyblue;"><code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></td>
   </tr>
   </tr>
</table>
</table>
</includeonly>
</includeonly>

Revision as of 14:47, 12 April 2019

This is the "AutonagRule" template. It should be called in the following format:

{{AutonagRule
  | 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 
}}

Edit the page to see the template text.