|
|
| (22 intermediate revisions by 12 users not shown) |
| 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] [[mw:Bugzilla|(?)]]<br/> '''[[bugzilla:{{{1}}}|Bug {{{1}}}]]''' | | <onlyinclude>{{Tracked/layout |
| {{#switch:{{{2}}} | | |1={{#if:{{{1|<noinclude>1</noinclude>}}}| |
| |fixed=<span style="color:green;font-weight:bold;text-transform:uppercase;">Resolved fixed</span>
| | {{#ifeq:{{padleft:|1|{{uc:{{{1}}}}}}}|T |
| |wontfix=<span style="color:black;font-weight:bold;text-transform:uppercase;">Resolved "won't fix"</span>
| | | {{uc:{{{1}}}}}<!-- Phab --> |
| |invalid=<span style="color:black;font-weight:bold;text-transform:uppercase;">Resolved invalid</span> | | | T{{#expr:{{{1|}}}+2000 }}<!-- Bugzilla --> |
| |later=<span style="color:black;font-weight:bold;text-transform:uppercase;">Resolved "later"</span> | | }} |
| |critical=<span style="color:red;font-weight:bold;font-size:1.5em;text-transform:uppercase;">Critical</span>
| | }} |
| |}}
| | |2={{{2|}}} |
| </div></includeonly><noinclude>
| | |float={{{float|}}} |
| '''''Template documentation'''''
| | |style={{{style|}}} |
| | | |bugtitle={{{bugtitle|}}} |
| 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:
| | }}</onlyinclude> |
| | | {{Documentation}} |
| <div style="margin-left:4em;">
| | <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> |
| {| class="wikitable" width="500px" | |
| |-
| |
| |
| |
| 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. --[[Special:Mypage|Dogmaster3000]] 01:17, 14 December 2011 (PST)
| |
| |}
| |
| </div>
| |
| | |
| 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: <code><nowiki>{{tracked|300}}</nowiki></code> (where 300 is the number of the bug).
| |
| | |
| <div style="margin-left:4em;">
| |
| '''Sample output:'''
| |
| {| class="wikitable" width="500px" | |
| |-
| |
| |
| |
| {{Tracked|300}} | |
| 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. --[[Special:Mypage|Dogmaster3000]] 01:17, 14 December 2011 (PST)
| |
| |}
| |
| </div>
| |
| | |
| 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 <code><nowiki>{{tracked|300|fixed}}</nowiki></code>. In addition to <code>fixed</code>, we support <code>wontfix</code>, <code>later</code> and <code>invalid</code> resolution. (Style note: We're not using big scary red colors for the resolution to avoid scaring or annoying the reporter.) Example with the <code>fixed</code> keyword:
| |
| | |
| <div style="margin-left:4em;">
| |
| '''Sample output:'''
| |
| {| class="wikitable" width="500px" | |
| |-
| |
| |
| |
| {{Tracked|300|fixed}} | |
| 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. --[[Special:Mypage|Dogmaster3000]] 01:17, 14 December 2011 (PST)
| |
| |}
| |
| </div>
| |
| | |
| 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: <code><nowiki>{{Tracked|300|critical}}</nowiki></code>
| |
| | |
| <div style="margin-left:4em;">
| |
| '''Sample output:'''
| |
| {| class="wikitable" width="500px"
| |
| |-
| |
| |
| |
| {{Tracked|300|critical}} | |
| 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. --[[Special:Mypage|Dogmaster3000]] 01:17, 14 December 2011 (PST)
| |
| |}
| |
| </div> | |
| | |
| Of course, feel free to avoid using this template if tracking a comment is not useful.
| |
| | |
| <div style="margin-left:4em;">
| |
| {| class="wikitable" width="500px"
| |
| |-
| |
| |
| |
| 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. --[[Special:Mypage|Dogmaster3000]] 01:17, 14 December 2011 (PST)
| |
| | |
| : You appear to be running the new IE toolbar. This is expected behavior. However, if you upgrade, it will show the angry dancing Ballmer instead. --[[Special:Mypage|GNUnicorn]] 01:38, 14 December 2011 (PST)
| |
| |}
| |
| </div>
| |