Template:BugBotRule: Difference between revisions

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


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

Revision as of 14:41, 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.