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?

3 лайка

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.

4 лайка

Я тоже это заметил и хотел подать баг-репорт… На мой взгляд, если я цитирую кого-то, мне нужно сохранить их слова дословно, так что это не совсем «моя ссылка», как сообщает ошибка,

Похоже, ваша ссылка на rclone.org уже была опубликована

Это скорее ссылка автора оригинального поста. По-моему, ссылки в цитатах должны исключаться из этого предупреждения. Я потратил пару минут, просматривая всю ветку, чтобы убедиться, что не упустил ссылку, прежде чем понял, что предупреждение относится именно к цитате.

2 лайка

Хотя это всё ещё дублирующая ссылка.

1 лайк

По-прежнему не «ваша ссылка», если важны технические детали :slight_smile: «Ссылка, которую вы процитировали», звучала бы менее… раздражающе, если бы ссылка находилась в цитируемой части сообщения.