Difference between revisions of "Template:BugzillaFileBug"
From SME Server
Jump to navigationJump to searchm (Trying to remove newline from template) |
m (Aligning the parser function with recent bugzilla changes) |
||
Line 10: | Line 10: | ||
will look like this: | will look like this: | ||
{{BugzillaFileBug|product=contribs.org%20web%20site|component=MediaWiki|summary=This%20would%20go%20into%20the%20summary%20field|comment=And%20this%20would%20go%20into%20the%20comment%20field|title=Open a bug against the MediaWiki package in the contribs.org website bugtracker}} | {{BugzillaFileBug|product=contribs.org%20web%20site|component=MediaWiki|summary=This%20would%20go%20into%20the%20summary%20field|comment=And%20this%20would%20go%20into%20the%20comment%20field|title=Open a bug against the MediaWiki package in the contribs.org website bugtracker}} | ||
− | and will open the form to create a bug against the wiki in the contribs.org website tracker.</noinclude><includeonly>[http://bugs.contribs.org/enter_bug.cgi?product={{{product|}}}&component={{{component|}}}&short_desc={{{summary|}}}&comment={{{comment|}}} {{{title|Specify a link title}}}]</includeonly> | + | and will open the form to create a bug against the wiki in the contribs.org website tracker.</noinclude><includeonly> |
+ | {{#switch: product | ||
+ | | contribs.org%20web%20site = SME%20Web%20site | ||
+ | | default = {{{product}}} | ||
+ | }}[http://bugs.contribs.org/enter_bug.cgi?product={{{product|}}}&component={{{component|}}}&short_desc={{{summary|}}}&comment={{{comment|}}} {{{title|Specify a link title}}}]</includeonly> | ||
<noinclude>---- | <noinclude>---- | ||
[[Category:Template]]</noinclude> | [[Category:Template]]</noinclude> |
Revision as of 12:17, 4 December 2009
BugzillaFileBug
This template can create a link to create a link to automatically report a bug in the correct category in the Bugtracker. It can even specify a Summary and a Description if you would prefer that.
Usage
{{BugzillaFileBug|product=?|component=?|title=link title}}
Not all parameters need to be supplied, but a link title is required.
Example
{{BugzillaFileBug|product=contribs.org%20web%20site|component=MediaWiki|summary=This%20would%20go%20into%20the%20summary%20field|comment=And%20this%20would%20go%20into%20the%20comment%20field|title=Open a bug against the MediaWiki package in the contribs.org website bugtracker}}
will look like this:
Open a bug against the MediaWiki package in the contribs.org website bugtracker
and will open the form to create a bug against the wiki in the contribs.org website tracker.