Closed
Bug 530311
Opened 16 years ago
Closed 11 years ago
Make the bugzilla URL match other words than "bug"
Categories
(Other Applications Graveyard :: ChatZilla, enhancement)
Other Applications Graveyard
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wormsxulla, Assigned: hunboy)
Details
Attachments
(2 files, 2 obsolete files)
73.17 KB,
image/png
|
Details | |
3.90 KB,
patch
|
bugzilla-mozilla-20000923
:
review+
|
Details | Diff | Splinter Review |
Some bug tracking systems do not use "bug" as their keyword for naming individual bugs, but use:
- issue
- ticket.
It would be great if issue# and ticket# would be recognized as matching bug#, so an URL could link directly to them.
Updated•16 years ago
|
Version: unspecified → Trunk
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•11 years ago
|
Assignee: rginda → utasir
Assignee | ||
Comment 1•11 years ago
|
||
Silver,
this one works with | separated keywords such as bug|issue|ticket
this comes from the RegExp.
I did not find way to make it network/channel dependent while this is hacking the munger itself, and we dont define own mungers for each channels.
the default value is: bug
the network/channel dependent overdefine of buglink works of course. I havent touched that.
Attachment #8417105 -
Flags: review?(bugzilla-mozilla-20020327)
Assignee | ||
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Some English correction for label title at preferences (thnx to Neil to fix my english)
Attachment #8417105 -
Attachment is obsolete: true
Attachment #8417105 -
Flags: review?(bugzilla-mozilla-20020327)
Attachment #8417136 -
Flags: review?(bugzilla-mozilla-20020327)
Comment 4•11 years ago
|
||
Comment on attachment 8417136 [details] [diff] [review]
patch v1.0.1
Review of attachment 8417136 [details] [diff] [review]:
-----------------------------------------------------------------
Overall looks good; r=silver with the nits fixed.
Thanks and apologies for the delay!
::: locales/en-US/chrome/chatzilla.properties
@@ +1470,5 @@
> pref.awayIdleMsg.help = The away message ChatZilla will use when you go away.
> pref.awayNick.label = Nickname (away)
> pref.awayNick.help = This nickname will automatically be used when you mark yourself away, if different from 'Nickname'. You may leave this blank to not change nickname when going away.
> +pref.bugKeyword.label = Bug Keywords
> +pref.bugKeyword.help = You can define multiple issue tracker keywords by separating them with "|" e.g. bug|issue|case|ticket
Nit: I think this should explicitly state that the value is a regular expression.
::: xul/content/mungers.js
@@ +327,4 @@
>
> if (bugURL.length > 0)
> {
> + var idOrAlias = matchText.match(new RegExp("("+client.prefs["bugKeyword"]+")\\s+#?(\\d+|[^\\s,]{1,20})","i"))[2];
Nit: You could use (?: ... ) here as well and avoid changing [1] to [2].
Attachment #8417136 -
Flags: review?(bugzilla-mozilla-20020327) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Nits fixed patch
Attachment #8417136 -
Attachment is obsolete: true
Attachment #8427302 -
Flags: review?(bugzilla-mozilla-20020327)
Updated•11 years ago
|
Attachment #8427302 -
Flags: review?(bugzilla-mozilla-20020327) → review+
Comment 6•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•4 months ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•