Template:Bug/doc

From Gentoo Wiki
Jump to: navigation, 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.

Link to bugs at several bugtrackers (default is https://bugs.gentoo.org).

Parameters

unnamed
Specify a bug number (search default). If you search by package, specify a package string. If you search by product, specify the product.
site (optional)
Specify a different bugtracker than Gentoo's. Supported are "kde", "freedesktop"/"fdo" and "launchpad".
search (optional)
Specify a search method: by id (default), by package name or by product (Bugzilla only).
component (optional)
Specify a component (only valid for product search).
text (optional)
Specify a custom text to override the automatic link text.

Usage

See the template's testcases:

Correct

One anonymous parameter: bug number
Wiki code
{{Bug|100}}
Main version
Sandbox version


Parameter site
Wiki code
{{Bug|100|site=fdo}}
Main version
Sandbox version


Using search=package to search by package name
Wiki code
{{Bug|sys-apps/portage|search=package}}
Main version
Sandbox version


Using search=product to search by product name
Wiki 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
Wiki code
{{Bug|100|text=Some text}}
Main version
Sandbox version


Using search=email to search by assigned to email
Wiki code
{{Bug|larry_the_cow@gentoo.org|search=email}}
Main version
Sandbox version
Gentoo bugtracker: known bugs
Note
Larry_the_cow have no email. At least i didn't find


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.