Template:BugBotRule: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(css)
(fix bugzilla url, remove old version of template)
Line 13: Line 13:
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>
=== {{{ Rule name }}} ===
<ul>
<li>Purpose: {{{ Purpose }}}</li>
<li>Action: {{{ Action }}}</li>
<li>Example: [https://bugzilla.com/{{{Example}}} Bug {{{Example}}}]</li>
<li>Defined in: <code>[https://github.com/mozilla/relman-auto-nag/blob/master/auto_nag/scripts/{{{ Source }}} {{{ Source }}}]</code></li>
</ul>
=== {{{ Rule name }}} ===
=== {{{ Rule name }}} ===
<table style="text-indent: 0.5em; 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;">
Line 33: Line 25:
   <tr>
   <tr>
     <th style="border: 1px solid lightskyblue; background-color: aliceblue;">Example</th>
     <th style="border: 1px solid lightskyblue; background-color: aliceblue;">Example</th>
     <td style="border: 1px solid lightskyblue;">[https://bugzilla.com/{{{Example}}} Bug {{{Example}}}]</td>
     <td style="border: 1px solid lightskyblue;">[https://bugzil.la/{{{Example}}} Bug {{{Example}}}]</td>
   </tr>
   </tr>
   <tr>
   <tr>

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