3 ms·
Strangely enough, discourse uses the following style: https://meta.discourse.org/t/deleted-topics-where-are-they/22312/7 https://meta.discourse.org/t/deleted-t
by Moter8 9y ago
Strangely enough, discourse uses the following style:
https://meta.discourse.org/t/deleted-topics-where-are-they/22312/7 https://meta.discourse.org/t/deleted-topics-where-are-they/2...
/t/ for topic, slug for readability, then a topic id and at last a reply id.
- detaro 9y agoand your comment is the perfect demonstration why: when truncated, the id gets cut off before the slug.
- TeMPOraL 9y agoWhich is... something you don't want to happen, right?
- detaro 9y agoRight, I was thinking purely display truncation, like here. Surviving copy-paste from here or other actual truncation it's bad, true.
- StavrosK 9y agoTo be fair, if you truncate a url for anything other than display, it's toast (which is why no sane person truncates URLs except for display).
- ehsankia 9y agoSo does reddit. Go to any comment section. You can remove the latter part with the title and only leave the identifier, and the link will still work. The short link actually only contains the identifier.