# 向“关注词”添加词语时不会检查重复项

**URL:** <https://meta.discourse.org/t/adding-words-to-watched-words-doesnt-check-for-duplicates/84393>\
**Category:** Bug\
**Created:** [2018年四月2日 16:45 UTC](https://meta.discourse.org/t/adding-words-to-watched-words-doesnt-check-for-duplicates/84393 "2018-04-02T16:45:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![barreeeiroo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/barreeeiroo/32/165264_2.png) [@barreeeiroo](https://meta.discourse.org/u/barreeeiroo)\
**Post date:** [2018年四月2日 16:45 UTC](https://meta.discourse.org/t/adding-words-to-watched-words-doesnt-check-for-duplicates/84393/1 "2018-04-02T16:45:58Z")

</div>

Adding words to “Watched Words” admin setting doesn’t check for duplicated

For example, I can censor “Tururu”, and censor “tururu” and a double “Tururu” appears  
However, if I refresh the page it gets fixed

I guess the duplicate checker is only missing on client side

---

<div class="post-metadata">

**Author:** ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)\
**Post date:** [2018年五月18日 06:52 UTC](https://meta.discourse.org/t/adding-words-to-watched-words-doesnt-check-for-duplicates/84393/4 "2018-05-18T06:52:41Z")

</div>

Sent a PR for this:

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

We’ll now show a message to let you know the word is already added when you try to add a duplicate:

 ![image](https://global.discourse-cdn.com/meta/original/3X/f/1/f10db488fd2687047542ecd31dfe6a68c883498b.png)

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018年五月18日 08:50 UTC](https://meta.discourse.org/t/adding-words-to-watched-words-doesnt-check-for-duplicates/84393/5 "2018-05-18T08:50:27Z")

</div>

Looks good but we need to improve the styling there

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [2018年六月12日 03:13 UTC](https://meta.discourse.org/t/adding-words-to-watched-words-doesnt-check-for-duplicates/84393/6 "2018-06-12T03:13:32Z")

</div>


