# 'Seu post contém palavras que não são permitidas' ... mas quais?

**URL:** https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691
**Category:** Bug
**Created:** [27 Fevereiro , 2018 18:44 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691 "2018-02-27T18:44:56Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [27 Fevereiro , 2018 18:44 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/1 "2018-02-27T18:44:56Z")

</div>

Hi,

I just tried editing a message here on Meta but kept getting the ‘Your post contains words that aren’t allowed’ warning. As it doesn’t show WHICH words, I couldn’t figure out what I was doing wrong and had to ask a team member for help. How about adding a little more information here?

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/e/ee6579e73e4f235857f1b42a78e5c0cc8558e19e.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: [27 Fevereiro , 2018 18:47 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/2 "2018-02-27T18:47:24Z")

</div>

I think the risk there is we would be showing profanity in many cases which is not pleasant.

Not true in this case but in the typical case it would be.

---

<div class="post-metadata">

### Author: ![bartv](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bartv/32/130052_2.png) [@bartv](https://meta.discourse.org/u/bartv)
#### Post date: [27 Fevereiro , 2018 18:51 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/3 "2018-02-27T18:51:20Z")

</div>

> [@codinghorror](#):
>
> I think the risk there is we would be showing profanity in many cases which is not pleasant.

It would just be reflecting my own words, hardly shocking 🙂

---

<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: [27 Fevereiro , 2018 18:52 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/4 "2018-02-27T18:52:20Z")

</div>

I suppose that is true what do you think @neil?

---

<div class="post-metadata">

### Author: ![McBlu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcblu/32/91128_2.png) [@McBlu](https://meta.discourse.org/u/McBlu)
#### Post date: [27 Fevereiro , 2018 19:28 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/5 "2018-02-27T19:28:26Z")

</div>

I got one of those today and I wasn’t swearing. I assumed it was a glitch and moved on but maybe it wasn’t and I was doing something I shouldn’t have been doing. Not knowing, I wasn’t educated on what I was doing wrong.

A compromise might be to have a list which includes words that wouldn’t offend people and instead of listing the swear words, maybe say something like, “Also Includes profanities, swear words, and language considered by society to be derogatory towards a minority. Those words aren’t listed here out of respect for members.”

It just occurred to me there are words that aren’t allowed that have dual meaning – one of the meanings being derogatory. That might be good to list.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [27 Fevereiro , 2018 20:15 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/6 "2018-02-27T20:15:00Z")

</div>

I’ve seen this confusion come up in another Discourse forum as well; especially confusing if an admin decides to block a word that’s not typically offensive or if a regex is too broad.

I think as long as we can show someone what they literally typed it should be fine? So if an admin configured an “ass” regex that was too broad and the word “assassin” was blocked, we’d tell the user “assassin” was blocked to avoid accidentally showing someone an offensive word in the alert…

---

<div class="post-metadata">

### Author: ![McBlu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcblu/32/91128_2.png) [@McBlu](https://meta.discourse.org/u/McBlu)
#### Post date: [27 Fevereiro , 2018 21:08 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/7 "2018-02-27T21:08:27Z")

</div>

Brilliant solution, @awesomerobot. Showing to the user what the banned word is doesn’t offend other members and serves to educate that person or at least reassure them that they haven’t violated some secret code if it’s a matter of banning by association.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [27 Fevereiro , 2018 21:40 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/8 "2018-02-27T21:40:16Z")

</div>

Agreed @bartv. I’ll add this to my list.

---

<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: [27 Fevereiro , 2018 22:19 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/9 "2018-02-27T22:19:45Z")

</div>

You could also put the word behind a click to reveal if we’re worried it will be offensive.. the only scenario that makes sense here is an accidental match though, in that case someone did not type a naughty word, but might be _shown_ a naughty word as a mismatch.

---

<div class="post-metadata">

### Author: ![fellowshipforums](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fellowshipforums/32/93448_2.png) [@fellowshipforums](https://meta.discourse.org/u/fellowshipforums)
#### Post date: [28 Fevereiro , 2018 01:08 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/10 "2018-02-28T01:08:08Z")

</div>

FYI: I am also getting this error message popping up. Not sure what is causing this error.

---

<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: [28 Fevereiro , 2018 02:06 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/11 "2018-02-28T02:06:56Z")

</div>

> [@awesomerobot](#):
>
> I think as long as we can show someone what they literally typed it should be fine? So if an admin configured an “ass” regex that was too broad and the word “assassin” was blocked, we’d tell the user “assassin” was blocked to avoid accidentally showing someone an offensive word in the alert…

Yes, for sure when using regex blocks we can display the regex match so what it could say is:

> You are not allowed to include the word `assassin` in your post.

It is 100% correct even if the ban is for `/ass.*/ ` .

It is super clear then what to do and how to correct it and does not risk leaking out an offensive word that was not in the post in the first-place.

---

<div class="post-metadata">

### Author: ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)
#### Post date: [28 Fevereiro , 2018 18:43 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/15 "2018-02-28T18:43:47Z")

</div>

I pushed a commit to show the blocked word in the error message.

---

<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: [28 Fevereiro , 2018 20:30 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/16 "2018-02-28T20:30:38Z")

</div>

Next steps are we need a “substitute” action in Watched Words, perhaps next month sometime?

---

<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: [28 Fevereiro , 2018 20:35 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/17 "2018-02-28T20:35:07Z")

</div>

I would like a just in time option, as soon as you type badword, a custom panel shows up explaining why badword is bad and what to do

@HAWK s idea and it is a real good one

Substitute does not teach.

---

<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: [28 Fevereiro , 2018 20:53 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/18 "2018-02-28T20:53:04Z")

</div>

That’s a much more difficult feature to build, though – now instead of substitution, you have more text to add with an explanation. Also users won’t read anything you put on the screen, particularly the types of users you would _want_ read specific things you put on the screen, so there’s that.

Not opposed, just pointing out that there is a road we need to travel to get there in the first place 🛤

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [28 Fevereiro , 2018 21:13 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/19 "2018-02-28T21:13:15Z")

</div>

> [@sam](#):
>
> Substitute does not teach.

But it _is_ certainly fun.

---

<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: [28 Fevereiro , 2018 21:39 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/20 "2018-02-28T21:39:24Z")

</div>

BBS used to disemvowel all troll posts. A feature that was both hated and loved by all forum members.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [28 Fevereiro , 2018 21:45 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/21 "2018-02-28T21:45:41Z")

</div>

> [@codinghorror](#):
>
> Next steps are we need a “substitute” action in Watched Words, perhaps next month sometime?

What makes that different than Censored Words?

---

<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: [28 Fevereiro , 2018 21:46 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/22 "2018-02-28T21:46:15Z")

</div>

> [@cpradio](#):
>
> What makes that different than Censored Words?

It is significantly more confusing to end users? 🙃

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [28 Fevereiro , 2018 21:50 UTC](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691/23 "2018-02-28T21:50:34Z")

</div>

Not sure I’m following, or maybe not asking the right question, what would adding a substitute action for “Watched Words” provide over just using Censored Words?

In other words, if “assassin” is considered bad, why would replacing that with “ninja” be better than replacing it with ` ********`? Both happen behind the scenes without interaction from the user, yes? Both are not what the user originally entered. On edit, initially the user can see the word “assassin” instead of `******** `, but you can’t say the same when you replace it with the word “ninja”…

I might be missing the real reason for wanting such a feature though… (or not fully grasping it yet)

[Next page](https://meta.discourse.org/t/your-post-contains-words-that-arent-allowed-but-which-ones/81691.md?page=2)
