Template:Bugentry
This template may be used to reference a TDF Bugzilla (tdf) (https://bugs.documentfoundation.org/show_bug.cgi?id=) bug entry.
Usage
Standard method
- Enter {{Bugentry|123456}} to obtain the following result: tdf#123456
Want to specify different text for the link?
- Enter {{Bugentry|123456|Make up your own text for the link}} to obtain the following result: Make up your own text for the link
Want to show the number of the ticket although providing a different text?
- Enter {{Bugentry|123456|Make up your own text for the link|shownumber=yes}} to obtain the following result: tdf#123456 - Make up your own text for the link
Want to show the number of the ticket although providing a different text and linking to a direct comment?
- Enter {{Bugentry|123456|Make up your own text for the link|shownumber=yes|c=6}} to obtain the following result: tdf#123456 - Make up your own text for the link
Technical details
Existing services
Template | Software | Notes |
---|---|---|
Template:abi | bugzilla | |
Template:bnc | bugzilla | |
Template:cool | GitHub | |
Template:deb | Custom platform | |
Template:fate | some bugzilla derived solution | |
Template:fdo | bugzilla | |
Template:icu | JIRA | |
Template:issue | bugzilla | |
Template:kde | bugzilla | |
Template:lp | launchpad | exceptions are direct links to comments, see #to do list |
Template:moz | bugzilla | |
Template:oasis | JIRA | comment links, under investigation |
Template:py | Roundup | |
Template:ofz | monorail | |
Template:py | Roundup | |
Template:redmine | TDF redmine | |
Template:rhbz | bugzilla | |
Template:tdf | bugzilla |
Adding a new service
The page Template:Bugentry is a meta template and doing the "template magic" for the wrapped pages (Template:fdo, Template:bnc, etc.).
The template is tested with bugzilla, roundup, redmine and trac bug trackers and new templates based on these trackers can be safely added.
To add a new service, simply add:
- the URL at Template:Bugentry/url,
- the abbreviation at Template:Bugentry/abbreviation,
- the description for the documentation page at Template:Bugentry/description,
- and the kind of addition for the URL for direct links to comments at Template:Bugentry/comment.
Be careful, some characters need to be "escape" by using HTML naming conventions (e.g. for the sharp # you have to use # instead).
For the wrapped page, simply check Template:fdo and copy and paste the code to your new template and update the parameter {{{service}}}.
to do list
Because of the different links and features, other bug trackers might not work at the moment. The following list contains links to existing templates which should be added in future (if possible):
- Template:lp (generally working, but comments)