In comments on gerrit, ticket IDs like T12345 are automatically linked to phabricator tickets.
It would be useful to link comment IDs like T12345#65432 to the respective comment.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Paladox | T76459 Allow links to phabricator comments from gerrit messages. | |||
Resolved | Paladox | T75997 Full Phabricator links are being expanded weirdly in gerrit |
Event Timeline
I tried working around this, and failed. See my attempt to link to T119209#1912745 from https://gerrit.wikimedia.org/r/#/c/254440/
Assuming we stay with Gerrit, we need to fix T75997 to fix this one, I think. Note: I'm not recommending we stay on Gerrit. ;-)
Change 256663 had a related patch set uploaded (by Tim Landscheidt):
Avoid breaking full phabricator URLs
Change 301580 had a related patch set uploaded (by Paladox):
Support linking to a phabricator comment
Change 301673 had a related patch set uploaded (by Paladox):
gerrit: support linking to a phabricator comment
Change 302229 had a related patch set uploaded (by Paladox):
Gerrit: Support having phab commits as links
@daniel @RobLa-WMF I wonder what you think of https://gerrit.wikimedia.org/r/#/c/302229/
For starters, \o/ From my skim, it looks like progress.
What should I keep an eye on, though? The test commit has a bit that looks like this:
T12345#1" target="_blank">https://phabricator.wikimedia.org/T12345#1
Why is that there?
@RobLa-WMF hi that is a test for something else, but also related. I fixed the links breaking for plain tasks but if you do a task with #1 it breaks the link again. But want he is referring to is T1#1 for example, that should be working for you.
I merged Paladox' change and just linked from there to T76459#2548402 over here by just pasting "T76459#2548402". wfm, thanks Paladox
Change 256663 merged by Dzahn:
Gerit: Rewrite outdated comment about Gerrit-Phabricator linking