# 篇章内部及篇章位点间的类别内容结构与重复

**URL:** <https://meta.discourse.org/t/structure-and-duplication-of-category-contents-intra-discourse-and-between-discourse-sites/375978>\
**Category:** Product Support\
**Created:** [2025 年7 月 26 日 22:23 UTC](https://meta.discourse.org/t/structure-and-duplication-of-category-contents-intra-discourse-and-between-discourse-sites/375978 "2025-07-26T22:23:04Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

作者： ![philh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/philh/32/532740_2.png) [@philh](https://meta.discourse.org/u/philh)\
发布日期： [2025 年7 月 29 日 16:25 UTC](https://meta.discourse.org/t/structure-and-duplication-of-category-contents-intra-discourse-and-between-discourse-sites/375978/6 "2025-07-29T16:25:39Z")

</div>

我找不到 @pfaffman 建议的某种组合的 Rails 查询的可行方法，但他的子类别提示非常有用。  
我不太愿意像 @Moin 建议的那样允许重复的主题标题，但事实证明结果并不令人困惑，至少对我来说，不像我担心的那样。

所以……类别 A 用于原始法案，两个子类别用于“修订后的法律”和“影响”，为两个子类别创建新的镜像标签组，使用现有标签，然后为原始法案的每个部分创建带有占位符文本的新主题。这一部分相当令人头疼 😣，因为类别 A 中有 307 个部分/主题。614 个手动创建的主题，哎呀。

我曾认为在向用户开放论坛后关闭“允许重复主题标题”是最好的，但我相信这会使主题中的任何编辑都无法保存，这对于作为维基的主题来说是行不通的。

实际上，允许重复标题可能不会像我担心的那样造成混乱，但是……

在用户尝试保存时，显示一个提示用户调整标题的警告，而不是仅仅允许主题保存，这是否明智？也许类似于：

 ![Screenshot 2025-07-29 091408](https://global.discourse-cdn.com/meta/original/4X/d/a/4/da441c73bcd44d17bd84c397bae3e590c8b7ecb4.png)

但文本不同，选择“确定”会保存主题。

“您尝试使用的主题标题至少已被使用过一次。请考虑修改标题，或者，如果需要或想要重复的标题，请继续保存。”

---

_[View the full topic](https://meta.discourse.org/t/structure-and-duplication-of-category-contents-intra-discourse-and-between-discourse-sites/375978)._
