Template:Enterbug: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Undo revision 1216337 by Davehunt (talk))
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[https://bugzilla.mozilla.org/enter_bug.cgi?product={{urlencode:{{{product}}}}}&component={{urlencode:{{{component}}}}} {{#if: {{{text|}}} | {{{text}}} | {{{product}}}::{{{component}}} }}]<noinclude>
[https://bugzilla.mozilla.org/enter_bug.cgi?product={{urlencode:{{{1}}}}}&component={{urlencode:{{{2}}}}} {{#if: {{{3|}}} | {{{3}}} | {{{1}}}::{{{2}}} }}]<noinclude>
{{documentation}}
{{documentation}}
<!-- Add categories to the /doc subpage, not here! -->
<!-- Add categories to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 15:40, 12 August 2019

{{{1}}}::{{{2}}}

Documentation icon Template documentation[view] [edit] [history] [purge]

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}} File a new bug