Template:Tracked: Difference between revisions
More actions
Created page with "<templatestyles src="Tracked/styles.css" /><div role="note" class="tracked plainlinks {{#if:{{{1|}}}|mw-trackedTemplate}}">Tracked in Phabricator<br />{{#if:{{{1|}}}|<span class="tracked-url">phabricator:{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}|<span class="trakfab-{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}"> Task {{ #ifeq: {{..." |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Tracked/styles.css" /><div role="note" class="tracked plainlinks {{#if:{{{1|}}}|mw-trackedTemplate}}">Tracked in [[phabricator:|Phabricator]]<br />{{#if:{{{1|}}}|<span class="tracked-url">[[phabricator:{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}|<span class="trakfab-{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}"> Task {{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}</span>]]</span>}}<br>{{#switch:{{lc:{{{2|}}}}} | <templatestyles src="Template:Tracked/styles.css" /><div role="note" class="tracked plainlinks {{#if:{{{1|}}}|mw-trackedTemplate}}">Tracked in [[phabricator:|Phabricator]]<br />{{#if:{{{1|}}}|<span class="tracked-url">[[phabricator:{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}|<span class="trakfab-{{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}"> Task {{ #ifeq: {{padleft: | 1 | {{ uc: {{{1}}} }} }} | T | {{ uc: {{{1}}} }} | T{{ #expr: {{{1}}} + 2000 }} }}</span>]]</span>}}<br>{{#switch:{{lc:{{{2|}}}}} | ||
|resolved|fixed=<span class="tracked-closure tracked-resolved">Resolved</span> | |resolved|fixed=<span class="tracked-closure tracked-resolved">Resolved</span> | ||
|invalid=<span class="tracked-closure">Invalid</span> | |invalid=<span class="tracked-closure">Invalid</span> |
Latest revision as of 19:50, 15 March 2025
This template uses TemplateStyles: |
Shows a box on the right side that links to a certain Phabricator or Bugzilla discussion.
Usage
Your software is broken. It doesn't even work on Windows 10. 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 task on Phabricator for this. We'll add the following code: {{tracked|T123}}
(where T123 is the identifier of the task).
Your software is broken. It doesn't even work on Windows 10. 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 task's been resolved, we can note its status, via {{tracked|T123|resolved}}
. Example with the resolved
keyword:
Your software is broken. It doesn't even work on Windows 10. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST) |
Valid values for the second parameter, and their effects, are:
|declined
,|wontfix
→ Declined|duplicate
→ Duplicate|invalid
→ Invalid|open
→ Open|resolved
,|fixed
→ Resolved|stalled
,|later
→ Stalled
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 10. When I try to load it, Bill Gates appears on my screen and laughs manically. --Dogmaster3000 01:17, 14 December 2011 (PST)
|
See also
- Gadget-BugStatusUpdate.js can be enabled in the Gadget preferences
- {{Phab}}, inline link
TemplateData
TemplateData for Tracked
Link box to a bug report
Parameter | Description | Type | Status | |
---|---|---|---|---|
Bug ID | 1 | Phabricator task number or old Bugzilla number
| Line | required |
Status | 2 | no description
| Line | optional |