This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.

Please visit our production wiki at https://wiki.gentoo.org

Template:Bug/doc

From Gentoo Wiki (test)
< Template:Bug(Redirected from Template:Bugs/doc)
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.

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


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.