'Your post contains words that aren't allowed' ... but which ones?


(Bart) #1

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?


(Jeff Atwood) #2

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.


(Bart) #3

It would just be reflecting my own words, hardly shocking :slight_smile:


(Jeff Atwood) #4

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


(Blu McCormick) #5

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.


(Kris) #6

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…


(Blu McCormick) #7

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.


(Neil Lalonde) #8

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


(Jeff Atwood) #9

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.


(Fellowship Forums) #10

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


(Sam Saffron) #11

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.


(Neil Lalonde) #15

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


(Jeff Atwood) #16

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


Improving removal of email signatures using Watched Words
(Sam Saffron) #17

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.


(Jeff Atwood) #18

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 :railway_track:


(Kris) #19

But it is certainly fun.


(Sam Saffron) #20

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


(cpradio) #21

What makes that different than Censored Words?


(Sam Saffron) #22

It is significantly more confusing to end users? :upside_down_face:


(cpradio) #23

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)