It would be good if the text of the link were to be based on topic ID rather than the topic title, for times that the topic title is subsequently changed, eg Easier access to bookmarks đź”–.
Isn’t the link already working based on the ID? For me, the link still works, even after you added “post” to the title of the topic.
The link certainly is working.
By “the link” I was referring to the topic title which is displayed rather than the underlying URL. Sorry!
I’ve changed “the link” to “the text of the link” in my post above.
I don’t think I expect texts in posts to change just because a topic is renamed.
Do you also expect that my post is changed if you change the title of this topic because I added a link and typed in the title?
Link in “Split this topic” mini post?
[Link in “Split this topic” mini post](https://meta.discourse.org/t/link-in-split-this-topic-mini-post/400249)
The small action post is kind of the same:
17 posts were split to a new topic: [Unable to tell bookmarks exist in footer on mobile](https://meta.discourse.org/t/unable-to-tell-bookmarks-exist-in-footer-on-mobile/400160)
I am not sure if checking all posts if any of them contain a link and the old title is worth the effort, and I am also unsure if I would want my post to be changed. Maybe I still prefer the text I had written. If I wanted the title, I could have used the inline onebox Link in "Split this topic" mini post (https://meta.discourse.org/t/link-in-split-this-topic-mini-post/400249), which updates when the post is rebuilt.
If that happens with the “small action” posts then it would pretty much be what I’m asking for.
The only questions then are whether that does happen, when are posts rebuilt and how can we rebuild posts? Cheers.
I wasn’t thinking of that. More that when a topic title is changed and a “split” small action post refers to it then the displayed title be changed.
Just realised I asked about this 2 years ago – sorry!
I may be mistaken, but since a topic move or split is a completely different type of post, rebuilding may not be possible. You can rebake a post from the command-line or via a web request, but not via the UI.
A regular post can be rebuilded by going to the Admin wrench in the post menu > Rebuild HTML.
I’d be too scared to try to rebake anything using the command line ![]()
It seemed to me at first glance fairly easy to add something along the lines of automatically editing relevant small action posts when a topic title has changed. Or maybe even not saving topic titles in the small action posts, and “rebaking” them rather than editing them. But in a huge forum that might be a huge undertaking.
It’s only a very minor detail, which shows how great Discourse is in general.
Do you think a rebuild will help? I thought that would only work for a link that appears without formatting in the post and is displayed as a title when posted (inline onebox). But the small action post about topic split contains Markdown which includes the title of the topic. I don’t think that is updated automatically.
Yes the “split” small action post does contain the text of the topic title.
Thinking about it, automatically editing posts might not be simple anyway, as a post might have been edited since creation.
Maybe an answer would be to use the URL only (no title) – presumably if you are brave enough to re-bake the post at the command line it would keep the old URL but take on the new topic title.
Yes, that’s what I was referring to. There is no post menu on those posts about the topic being moved.