Closed Bug 320943 Opened 19 years ago Closed 5 years ago

Auto-linkify "comment X of bug Y"

Categories

(Bugzilla :: User Interface, enhancement)

2.20
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: eyalroz1, Unassigned)

References

()

Details

(Keywords: intl)

See:

https://bugzilla.mozilla.org/show_bug.cgi?id=6976#c122

I was referring there to a comment on another bug, but the reference got auto-linkified to the comment with the same number in the bug in which the new comment was posted. The auto-linkification could try to first locate text such as "comment X of bug Y" or "bug Y, comment X" and linkify that as a whole.
Actually, we do already support this. Try:

bug 6976 comment 122

But we could also support the other form.
Assignee: myk → nobody
Summary: properly autolinkify references to comments in other bugs → Auto-linkify "comment X of bug Y"
Assignee: nobody → nobody
comment X of bug Y:
Internationalizing this could be hard.  not just for the word of/di/de/von etc.  But also the order could be backwards from our thinking.

bug Y, comment X:
A little more palletable.

Or something could be made that everyone could hate equally.
e.g. bug(444,1)
Keywords: intl
I think false positives are better than false negatives when it comes to linkification. Why not all of them?
(In reply to comment #3)
> I think false positives are better than false negatives when it comes to
> linkification. Why not all of them?

false positives and false negatives are the same --> they result in new bugs being filed.

So what does this mean?
Trouble was spoken about in bug 44, bug 55, comment 4 and I am telling you now.

<a>bug 44</a>
<a>bug 55</a>
<a>comment 4</a>

OR

<a>bug 44</a>
<a>bug 55#C4</a>
(In reply to comment #4)

Ok, point made. Still, "comment X of bug Y" does not seem to admit more than one interpretation (unless you have "bug Z, comment X of bug Y" but in such cases I don't care what bugzilla does).
Assignee: nobody → ui
Depends on: bz-linkification
Similarly, it seems good to auto-linkify:

     /defect #?[0-9]+(,\s*comment #?[0-9]+/i

I'm new here, so I don't know history on bug-vs-defect pedantry.

I don’t think it’s a common format of comment references so closing as WONTFIX.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.