HomePhabricator

Always link to "#5" (not "#comment-5") for "T123#5"

Tags
None
Referenced Files
None
Subscribers
None
Tokens
"Like" token, awarded by chengyin.

Description

Always link to "#5" (not "#comment-5") for "T123#5"

Summary:
Fixes T3976. Long ago, some applications used "#comment-5" instead of "#5" for transaction/comment anchors. Now everything (I think?) uses "#5"; this is the style used by ApplicationTransactions.

This might break some very old, explcit T123#comment-5 links, or off-site links to the comment-N anchors, but all that stuff generally got renumbered when we migrated anyway and getting you to the right object is like 95% of the job.

Test Plan: Verified that T123#5 now links to #5.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T3976

Differential Revision: https://secure.phabricator.com/D8542

Event Timeline