Confirmed users
1,059
edits
(added credits section) |
(adding preferences section) |
||
| Line 37: | Line 37: | ||
; Extension (for now) : [http://clarkbw.net/tmp/bugzillalinkgrabber.xpi bugzillalinkgrabber.xpi] | ; Extension (for now) : [http://clarkbw.net/tmp/bugzillalinkgrabber.xpi bugzillalinkgrabber.xpi] | ||
== Will you be adding this Feature? == | === Will you be adding this Feature? === | ||
Right now this works just about as well as I'd like it to. The source code is completely available and I'd love to see people try out different things. Don't ask me if you can do something, just go try it. If you want to try something but aren't sure what to do, see the TODO below or ask me for some ideas. | Right now this works just about as well as I'd like it to. The source code is completely available and I'd love to see people try out different things. Don't ask me if you can do something, just go try it. If you want to try something but aren't sure what to do, see the TODO below or ask me for some ideas. | ||
== Can you package this up for AMO? == | === Can you package this up for AMO? === | ||
I have no idea how to do that. If you do then I'd love to see you take over that part of the project, just send me an email or write in the Talk for this page. | I have no idea how to do that. If you do then I'd love to see you take over that part of the project, just send me an email or write in the Talk for this page. | ||
== Preferences == | |||
The different bugzillas are stored in the extension preferences. You'll notice the format in the [http://github.com/clarkbw/thunderbird-bugzilla-link-grabber/tree/master/defaults/preferences/bugzillalinkgrabber.js defaults/preferences/bugzillalinkgrabber.js] file. | |||
The top level list of bugzillas is at this preference branch id | |||
"extensions.bugzillalinkgrabber@bryan.clark.bugzillas." | |||
Such that any bugzilla will show up with the name that proceeds that id. This name is seen in the context menu of the user interface. | |||
"extensions.bugzillalinkgrabber@bryan.clark.bugzillas.bugzilla.mozilla.org" | |||
And that name will be assigned the value of the URL it's equal to | |||
"https://bugzilla.mozilla.org/show_bug.cgi?id=%s" | |||
So if you wanted to add a new default bugzilla in the preferences you could add a line like this. | |||
pref("extensions.bugzillalinkgrabber@bryan.clark.bugzillas.b.example.com", | |||
"http://b.example.com/%s"); | |||
And in the context menu people would see ''b.example.com' and bug URLs would link to ''http://b.example.com/BUG_ID'' | |||
== TODO == | == TODO == | ||