Template:Bug/doc
From Gentoo Wiki
Jump to:navigation
Jump to:search
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Link to bugs at several bugtrackers (default is https://bugs.gentoo.org).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Bug number/term | 1 | Specify a bug number (''search'' default). If you search by package, specify a package string. If you search by product, specify the product
| String | required |
Site | site | Specify a different bugtracker than Gentoo's. Supported are "kde", "freedesktop"/"fdo" and "launchpad". | String | optional |
Search | search | Specify a search method: by ''id'' (default), by ''package'' name or by ''product'' (Bugzilla only). | String | optional |
Component | component | Specify a component (only valid for ''product'' search). | String | optional |
Link text | text | Specify a custom text to override the automatic link text. | Content | optional |
Usage
See the template's testcases:
Correct
One anonymous parameter: bug number
Parameter
site
Wiki code
{{Bug|100|site=fdo}}
Main version
Sandbox version
Using
search=package
to search by package nameWiki code
{{Bug|sys-apps/portage|search=package}}
Main version
Sandbox version
Using
search=product
to search by product nameWiki code
{{Bug|PulseAudio|search=product|site=fdo}}
Main version
Sandbox version
Using
search=product
and component
Wiki code
{{Bug|Gentoo%20Linux|component=KDE|search=product}}
Main version
Sandbox version
Parameter
text
Using
search=email
to search by assigned to emailWiki code
{{Bug|wiki@gentoo.org|search=email}}
Main version
Sandbox version
Incorrect
No parameter (error message)
Wiki code
{{Bug}}
Main version
{{Bug template error}}
Parameter 1 not defined. For correct usage see Bug template's documentation on the
1
parameter.Sandbox version
{{Bug template error}}
Parameter 1 not defined. For correct usage see Bug template's documentation on the
1
parameter.
Development
This template relies on functionality inherited via the following sub-templates: