Template:Tracked/doc: Difference between revisions
More actions
added +2000 info as on mw:Template:Tracked/doc and m:Template:Tracked/doc |
|||
| Line 82: | Line 82: | ||
|} | |} | ||
</div> | </div> | ||
<includeonly> | |||
[[Category:Maintenance templates]] | If you need the new [[phabricator:|Phabricator]] status codes for a migrated Bugzilla ticket, add 2000 to its number with prefix '''T''' to get the task, e.g., [[phabricator:T2300|T2300]] replaced [[bugzilla:300]]. | ||
</includeonly> | ---- | ||
<templatedata> | <includeonly>[[Category:Maintenance templates]]</includeonly><templatedata> | ||
{ | { "description": "Link box to a bug report", | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
| Line 104: | Line 103: | ||
"type": "string", | "type": "string", | ||
"default": "right" | "default": "right" | ||
} } }</templatedata> | |||
} | |||
</templatedata> | |||
Revision as of 09:31, 15 January 2015
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.
Usage
{{Tracked |1= |2= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | Bug number on Phabricator (Tnnn) or Bugzilla (nnn) | empty | required | |
2 | Status of the bug; possible values:
| empty | optional | |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
Examples
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)
|
If you need the new Phabricator status codes for a migrated Bugzilla ticket, add 2000 to its number with prefix T to get the task, e.g., T2300 replaced bugzilla:300.
Link box to a bug report
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Bug id. | 1 | Tasknumber T123 or old bugzilla number | String | required |
| Status | 2 | resolved, stalled, invalid, ... | String | optional |
| float | float | CSS float+clear right, left, none, both, inherit
| String | optional |