Automatically replace forum URLs in posts with topic title


(Dan Dascalescu) #1

Just like on StackExchange, it would be nice to automatically replace bare URLs pointing to other threads in the forum, with the topic title hyperlinked to that URL:

The URL above could be replaced with “Sortable Admin pages” (ideally, with the relative path to the topic, so the link will survive domain name changes).


(Jens Maier) #2

If you post the URL on a line by itself, it will be picked up by a Onebox like this:

https://meta.discourse.org/t/sortable-admin-pages/20721/23?source_topic_id=26407

Rewriting inline URLs’ titles sounds nice on paper but could be risky. The forum would have to be able to understand when users are refering to the linked topic and when they’re talking about the address itself, something which, at least here on Meta, happens surprisingly often…


(Sam Saffron) #3

Covered here already:


(Sam Saffron) #4