Quoting a post with a link (still) triggers “duplicate link” education message

Following up on this thread, which was locked:

Currently, this behaves correctly if you start a reply using the quote button, but the issue still occurs if you have an existing reply and use the quote button to add text to it. If the quote contains a link, and the other conditions for the warning are met (quoted post sent within the last two weeks), you’ll see the duplicate-link warning.

Quoting the warning message so someone searching for it can find this thread: :slight_smile:

It looks like your link to [domain] was already posted in the topic by [user] in a reply on [date] – are you sure you want to post it again?


That’s correct from my perspective, as you are reposting the same link, albeit in a quote… it’s still another instance of the link in the topic.

Hmm, okay. I’m probably misunderstanding the purpose of the warning. My assumption was that it was basically a heuristic to detect redundant discussion: if your post happens to include the same link as another post, you probably didn’t read that post (or else you wouldn’t have thought it necessary to post the link again), and you’re probably trying to make a similar statement (since both you and the other poster thought the link was relevant). That reasoning wouldn’t apply if you’re quoting the other post to respond to it.

If the warning appearing in this case is correct, then the bug is that it doesn’t appear if you use the quote button to start a reply. For some reason it seems to hit the postNumber === linkInfo.post_number check in link-lookup.js.es6.


Just noticed this as well and wanted to file a bug… To me it seems that if I’m quoting someone, I need to preserve what they said verbatim, so it’s not really “my link” as the error says,

It looks like your link to rclone.org was already posted

It’s rather the OP’s link. IMO quoted links should be excluded from this warning. I spent a couple minutes going through the whole thread to see if I somehow missed the link, before realizing the warning was referring to the quote.


Still a dupe link, though.

1 Like

Still not “your link”, if technicalities matter :slight_smile: “The link you quoted” would be less… irking, if the link was in a quoted part of the message.