文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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

{{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}}

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

编辑

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

编辑

Link box to a bug report

模板参数[编辑模板数据]

参数描述类型状态
Bug id.1

Tasknumber T123 or old bugzilla number

字符串必需
Status2

resolved, stalled, invalid, ...

字符串可选
floatfloat

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

默认值
right
字符串可选