Quoting a post with a link triggers "duplicate link" education message

AI-generated summary

The discussion revolves around an issue with quoting posts containing links in Discourse, which triggers the “duplicate link” education message. tophee reports this issue and also points out a typo in the default text content element. jomaxro confirms the typo and provides a fix in the form of a GitHub pull request. Further, jomaxro identifies another issue with the copy change not working in all cases, suggesting the need for two translation strings or a more significant change. eviltrout thanks the users for reporting the issue and provides a commit to fix it.

It looks like when you quote a post that contains a link this triggers the js.composer.duplicate_link message:

I suppose links in quotes should be excluded?

Also, there seems to be a typo in the default version of that text content element (“ago” is missing)

「いいね!」 4

Can’t help with the trigger issue, but here’s a fix for the typo:

https://github.com/discourse/discourse/pull/4869

「いいね!」 2

Hmm, so the copy just got changed again, and it doesn’t work in all cases:

It does work when a date is used instead of a relative time:

It looks like we either need two translation strings, or the copy needs to be changed in a more significant way.

Edit: Looks like @eviltrout made the change here:
https://github.com/discourse/discourse/commit/70638f12918ea48c2210874d138f8572c16ce25b

「いいね!」 5

Thanks for reporting it. This should fix it:

https://github.com/discourse/discourse/commit/f481708348173b0f19fbcd8b3780a17a8d50af10

「いいね!」 5