Associer le lien au sujet

Lorsqu’on colle un lien dans le titre d’un nouveau sujet, ce lien est associé au sujet, même si le titre est modifié manuellement. C’est une excellente fonctionnalité. Cependant, il semble impossible d’associer un lien à un sujet existant. Les liens associés permettent de distinguer les sujets locaux des sujets orientés vers l’extérieur.

Existe-t-il un moyen d’associer un lien à un sujet après sa création ? Quelqu’un pourrait-il fournir des indications sur le code pertinent ?

2 « J'aime »

What do you mean by “associate link”?

You know, when you create a topic by pasting an URL into the topic title box.

I think the suggestion here is to be able to edit an existing topic (that wasn’t started by pasting a URL), and to get the extra goodies you get when pasting a URL (during the edit).

2 « J'aime »

I actually thought the standard behaviour we landed on here was “show link formatting if the very start of the topic is a link” but it does appear like the only way to achieve this special formatting is by pasting the link in the title bar.

IMO we should change this.

4 « J'aime »

I just noticed that if I “reply as a linked topic” and paste a link as the topic title, this does not fire the link association either. Can you please point to the code responsible for this logic?