Jump to content

Template:Tracked/doc

Unchecked
From Wikinews, the free news source you can write!

This template displays a box on the right side of the page, which links to a specific Phabricator or Bugzilla discussion.

Usage

[edit]
{{Tracked|Task ID}}

where Task ID is the Phabricator number of the task e.g. T12345. Bugzilla ticket numbers work as well. For example, {{Tracked|T123}} generates the box to the right:

Sample output:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

You can also mark the status of the task:

{{Tracked|Task ID|Status}}

where Status is one of resolved, we support invalid, duplicate, declined, stalled, and open. Example with the resolved keyword:

Sample output:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Bugzilla tickets

[edit]

For backwards compatibility, this template also accepts the number of a Bugzilla ticket as the first parameter, and the following resolutions: fixed, wontfix, later, invalid, and critical. This last keyword should only be used if the bug has also been marked as critical in Bugzilla. Example usage: {{Tracked|300|critical}}

Sample output:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

If you need the Phabricator task for a migrated Bugzilla ticket, add 2000 to the BZ bug number and prefix with T, e.g. T2300 replaced bugzilla:300.

TemplateData

[edit]

Link box to a bug report

Template parameters

ParameterDescriptionTypeStatus
Bug id.1

Tasknumber T123 or old bugzilla number

Stringrequired
Status2

resolved, stalled, invalid, ...

Stringoptional
floatfloat

CSS float+clear right, left, none, both, inherit

Default
right
Stringoptional