# 如何修改或禁用系统机器人和引用功能的操作

**URL:** https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769
**Category:** Support
**Created:** [2018 年12 月 8 日 14:29 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769 "2018-12-08T14:29:44Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![nick\_DMS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nick_dms/32/134698_2.png) [@nick\_DMS](https://meta.discourse.org/u/nick_DMS)
#### Post date: [2018 年12 月 8 日 14:29 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/1 "2018-12-08T14:29:44Z")

</div>

We just ran an update to our implementation of Discourse and now the system bot is removing full quotes from user comments. This is breaking the context in replies that respond to multiple comments. I’ll add some screen shots to hopefully help,

Here is a screen shot of the Notification of the system bot’s actions editing the posts.

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/e/2eea2c7197439c5dca7ecf3955a89349e5543c78.png)

---

<div class="post-metadata">

### Author: ![nick\_DMS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nick_dms/32/134698_2.png) [@nick\_DMS](https://meta.discourse.org/u/nick_DMS)
#### Post date: [2018 年12 月 8 日 14:31 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/4 "2018-12-08T14:31:30Z")

</div>

Here is a some changes made by system bot,

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/7/5726352385c7591f6893dfc673c75b58fc9656e1.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/8/6/8690f7cec5dab7f032d090263c8c44e45be09a21.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/4/e4a2efe8e8cc73a8d934c91e436417cc59549944.png)

---

<div class="post-metadata">

### Author: ![anon48433008](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anon48433008](https://meta.discourse.org/u/anon48433008)
#### Post date: [2018 年12 月 8 日 14:34 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/5 "2018-12-08T14:34:13Z")

</div>

Do you have similiar or different settings for quotes as these?

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/6/466fc50d26447733147c4f3bdb9c8947d8421be2.png)

---

<div class="post-metadata">

### Author: ![nick\_DMS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nick_dms/32/134698_2.png) [@nick\_DMS](https://meta.discourse.org/u/nick_DMS)
#### Post date: [2018 年12 月 8 日 15:13 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/6 "2018-12-08T15:13:46Z")

</div>

Yes our settings are identical.

---

<div class="post-metadata">

### Author: ![clone1018](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clone1018/32/126351_2.png) [@clone1018](https://meta.discourse.org/u/clone1018)
#### Post date: [2018 年12 月 8 日 20:27 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/7 "2018-12-08T20:27:43Z")

</div>

I’m also from the same Forum Nick is a part of, this migration ended up queueing every single historical post into Sidekiq. This proves to be a giant performance hit on the Discourse instance and is triggering hundreds of thousands of database calls, notifications, etc.

 ![51%20PM](https://global.discourse-cdn.com/meta/original/3X/3/6/36b9c2d498878bbee9cf1f6ff15947f7b87bf5d5.png)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018 年12 月 8 日 21:21 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/8 "2018-12-08T21:21:55Z")

</div>

> [@nick\_DMS](#):
>
> the system bot is removing full quotes from user comments. This is breaking the context in replies that respond to multiple comments

That’s a new feature to reduce duplicate content. It should only remove **full** quotes of the **preceding** post (and only if it’s the **only** quote in the post).

This screenshot is likely a bug. @nbianca can you have a look?

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/7/5726352385c7591f6893dfc673c75b58fc9656e1.png)

The other two images look fine, but I will need to see the previous posts to confirm they’re working properly.

> [@clone1018](#):
>
> this migration ended up queueing every single historical post into Sidekiq

Wait, you just did a migration?! 😕 Or did you mean “upgrade”?

---

<div class="post-metadata">

### Author: ![clone1018](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clone1018/32/126351_2.png) [@clone1018](https://meta.discourse.org/u/clone1018)
#### Post date: [2018 年12 月 8 日 22:15 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/9 "2018-12-08T22:15:28Z")

</div>

“Rebuild” is the discourse term I guess.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018 年12 月 8 日 22:17 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/10 "2018-12-08T22:17:22Z")

</div>

What kind of jobs are in your sidekiq queue? ~120k is a lot.

---

<div class="post-metadata">

### Author: ![clone1018](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clone1018/32/126351_2.png) [@clone1018](https://meta.discourse.org/u/clone1018)
#### Post date: [2018 年12 月 8 日 22:18 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/11 "2018-12-08T22:18:15Z")

</div>

One for every post:

 ![50%20PM](https://global.discourse-cdn.com/meta/original/3X/3/3/335b9cc0a16d065c4742d68549e9db1e12a5c1d9.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2018 年12 月 8 日 23:17 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/12 "2018-12-08T23:17:11Z")

</div>

@zogstrip I think this should be disable-able through a site setting but default on.

---

<div class="post-metadata">

### Author: ![clone1018](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/clone1018/32/126351_2.png) [@clone1018](https://meta.discourse.org/u/clone1018)
#### Post date: [2018 年12 月 8 日 23:26 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/13 "2018-12-08T23:26:33Z")

</div>

I’m fine with the feature of not having whole posts quoted, but I guess my questions revolve around the process behind the update.

Why would `system` notify each and every individual user that their post has been updated?

Is the intention to lean on Sidekiq for this task? If so is it acceptable to delay every other sidekiq powered feature (emails / notifications) because of an upgrade “migration”?

Our Discourse seems to be processing 5k posts per hour, so I guess we have 22 hours of upgrade pain to wade through?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018 年12 月 9 日 08:02 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/14 "2018-12-09T08:02:48Z")

</div>

That’s fair. @nbianca can you add the site setting?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018 年12 月 9 日 08:05 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/15 "2018-12-09T08:05:08Z")

</div>

> [@clone1018](#):
>
> Why would `system` notify each and every individual user that their post has been updated?

Something’s wrong with your instance as this feature is not retroactive and only applies to new posts. The `CrawlTopicLink` jobs are coming from something else…

---

<div class="post-metadata">

### Author: ![anon48433008](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anon48433008](https://meta.discourse.org/u/anon48433008)
#### Post date: [2018 年12 月 9 日 12:37 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/16 "2018-12-09T12:37:34Z")

</div>

> [@zogstrip](#):
>
> That’s a new feature to reduce duplicate content.

I hope you can add an on/off option as full quotes are not a bother on our forum, sometimes they add to the effect, sometimes are far enough down the thread it saves time wondering and wandering back through to find out what the reply means.

I do not believe this should be a mandatory setting.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2018 年12 月 9 日 12:39 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/17 "2018-12-09T12:39:45Z")

</div>

You are obviously not reading this topic.

I said 2 posts earlier that we’re adding a site setting and I said we’re only removing the quote when the post is directly above 😉

---

<div class="post-metadata">

### Author: ![anon48433008](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anon48433008](https://meta.discourse.org/u/anon48433008)
#### Post date: [2018 年12 月 9 日 12:43 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/18 "2018-12-09T12:43:13Z")

</div>

> [@zogstrip](#):
>
> directly above 😉

directly above seems reasonable

/_shrinks to corner_

---

<div class="post-metadata">

### Author: ![nbianca](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nbianca/32/157984_2.png) [@nbianca](https://meta.discourse.org/u/nbianca)
#### Post date: [2018 年12 月 9 日 13:01 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/19 "2018-12-09T13:01:56Z")

</div>

Done ✔

[https://github.com/discourse/discourse/pull/6742](https://github.com/discourse/discourse/pull/6742)

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [2021 年10 月 17 日 06:54 UTC](https://meta.discourse.org/t/how-to-modify-or-disable-the-actions-of-the-system-bot-and-quotes/103769/20 "2021-10-17T06:54:40Z")

</div>


