Template:Enterbug: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[https://bugzilla.mozilla.org/enter_bug.cgi?product={{{1}}}&component={{{2}}} {{{1}}}::{{{2}}}]<noinclude> | [https://bugzilla.mozilla.org/enter_bug.cgi?product={{urlencode:{{{1}}}}}&component={{urlencode:{{{2}}}}} {{{1}}}::{{{2}}}]<noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories to the /doc subpage, not here! --> | <!-- Add categories to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Revision as of 14:45, 12 August 2019
Usage
{{enterbug}} provides a link to enter a new bug.
To use the template, type {{enterbug|product|component}}
.
Parameter
There are three unnamed parameters (below called 1
, 2
, and 3
).
Product
1
: Product
This parameter is used for the product to open the bug against.
Component
2
: Component
This parameter is used for the component to open the bug against.
Text
3
: Text
This parameter is used for the text of the link. Optional, defaults to product::component
.
Usage:
{{enterbug|product|component}}
Examples
Example case | What you write | What you see |
---|---|---|
Testing::General | {{enterbug|Testing|General}} |
Testing::General |
Tree Management::Treeherder | {{enterbug|Tree Management|Treeherder}} |
Tree Management::Treeherder |
Tree Management::Treeherder | {{enterbug|Tree Management|Treeherder|File a new bug}} |
Tree Management::Treeherder |
The above documentation is transcluded from Template:Enterbug/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |