Comment 12 for bug 124166

Revision history for this message
skierpage (skierpage) wrote :

I was about to file a bug "put IDs in bug comments so people can link to them in context" and found this.

While you figure out what to do about standalone comments and existing comment links, could you at least add some kind of ID or name attribute to the comment template (as comment #2 suggests) so that people can manually fabricate a bug URLs with a fragment linking to a comment? You're already sticking #NNN in td class="bug-comment-index", just add id="NNN" to that. Currently the HTML of the entire comment section of a bug is devoid of name/id attributes. If the Launchpad code is browseable online I could guess at a patch.

This would also allow the nifty enhancement of hyperlinking of references in comment text such as "Regarding comment 2" and "See bug 518172 comment 12"; Bugzilla automatically hyperlinks those.