Template:Tracked: Difference between revisions
More actions
bug tracking template, from mediawiki.org (by yours truly) |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div style="float:right;border-width:1px;border-color:#999;border-style:solid;padding:0.5em;border-radius:0.5em;background:#EEE;font-size:80%;text-align:center;background: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#eee));background: -moz-linear-gradient(top, #ddd, #eee);margin-left:1em;" class="plainlinks">Tracked in [https://bugzilla.wikimedia.org/ Bugzilla] [[Bugzilla|(?)]]<br/> '''[[bugzilla:{{{1}}}|Bug {{{1}}}]]''' | <includeonly><div style="float:right;border-width:1px;border-color:#999;border-style:solid;padding:0.5em;border-radius:0.5em;background:#EEE;font-size:80%;text-align:center;background: -webkit-gradient(linear, left top, left bottom, from(#ddd), to(#eee));background: -moz-linear-gradient(top, #ddd, #eee);margin-left:1em;" class="plainlinks">Tracked in [https://bugzilla.wikimedia.org/ Bugzilla] [[mw:Bugzilla|(?)]]<br/> '''[[bugzilla:{{{1}}}|Bug {{{1}}}]]''' | ||
{{#switch:{{{2}}} | {{#switch:{{{2}}} | ||
|fixed=<span style="color:green;font-weight:bold;text-transform:uppercase;">Resolved fixed</span> | |fixed=<span style="color:green;font-weight:bold;text-transform:uppercase;">Resolved fixed</span> | ||
Revision as of 06:28, 22 December 2011
Template documentation
This template is intended to be used on feedback pages and talk pages for software deployments. It floats right-aligned next to whichever content it precedes. Imagine we see a comment like the following:
|
Your software is broken. It doesn't even work on Windows ME. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
Now let's say we want to note that there's a bug in the bug tracker for this. We'll add the following code: {{tracked|300}} (where 300 is the number of the bug).
Sample output:
|
Your software is broken. It doesn't even work on Windows ME. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
We can leave it at that. If we'd like to note the fact that the bug's been fixed, we can note its status, via {{tracked|300|fixed}}. In addition to fixed, we support wontfix, later and invalid resolution. (Style note: We're not using big scary red colors for the resolution to avoid scaring or annoying the reporter.) Example with the fixed keyword:
Sample output:
|
Your software is broken. It doesn't even work on Windows ME. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
Last but not least, we can mark a bug as critical. We deliberately aren't using this keyword for bugs which are resolved one way or another -- the point of adding this to the template is to note to all readers of the page that the seriousness of a bug has been critical. This keyword should only be used if the bug has also been marked as critical in Bugzilla. Example usage: {{Tracked|300|critical}}
Sample output:
|
Your software is broken. It doesn't even work on Windows ME. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
Of course, feel free to avoid using this template if tracking a comment is not useful.
|
Your software is broken. It doesn't even work on Windows ME. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST)
|