# 使用了合并插件的分支的核心插件

**URL:** <https://meta.discourse.org/t/core-plugins-wherein-a-fork-of-a-merged-plugin-was-being-used/394718>\
**Category:** Development\
**Created:** [2026年一月30日 00:00 UTC](https://meta.discourse.org/t/core-plugins-wherein-a-fork-of-a-merged-plugin-was-being-used/394718 "2026-01-30T00:00:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2026年一月30日 01:41 UTC](https://meta.discourse.org/t/core-plugins-wherein-a-fork-of-a-merged-plugin-was-being-used/394718/2 "2026-01-30T01:41:46Z")

</div>

> [@skatefriday](#):
>
> 如果有人使用了已被合并的插件的修改版 fork，该怎么办？

最好的办法是编写一个覆盖该插件的插件。

另一个办法是在克隆你的 fork 之前的那一行，对已合并的插件执行 “rm -rf”。

> [@skatefriday](#):
>
> 我添加了将标记的帖子通过管道传输到 Discord 的功能，因为版主立即收到用户标记帖子的通知非常重要，而 Discord 是实现此功能的延迟最低的通信媒介。

所以在你的新插件中就做这件事，而不是 fork 主插件。应该有一个钩子（hook）来实现这一点。

---

_[View the full topic](https://meta.discourse.org/t/core-plugins-wherein-a-fork-of-a-merged-plugin-was-being-used/394718)._
