我需要更具体一些:我希望在 Discourse 中,链接到帖子的行为默认是不可破坏的,并且与当前功能保持一致。
(A) 从浏览器 URL 栏复制的帖子链接,即使帖子被移动,也应始终链接到该帖子。
(B) 嵌套(内联和完整)应适用于这些永久链接:
原始链接:Filtering topic lists in Discourse - #3 by Moin
帖子:Build embedding / onebox support for topic filters - #2 by sam - Feature - Discourse Meta
https://meta.discourse.org/p/1820701
建议
我唯一能想到的解决方案是将帖子的 ID 包含在 URL 中:/t/{slug}/{topic-id}/position/{post-id}