Automatic Actions based on Words found in posts

New for 1.9 is the ability to take some actions based on watched words found in a post.

  • Block the post at the time it is submitted. User sees a message saying they’ve used a word that’s not allowed.
  • Flag the post as inappropriate, but allow it to be submitted.
  • Censor the words, which replaces the censored_words site setting being removed by this feature.
  • Require Approval of the post, hiding it until staff reviews it.

There’s a max of 1000 words per action. In practice, “bad word lists” I found rarely contain more than a few hundred.

* can be used as a wildcard.

Found in Admin, the navigation is similar to the settings.

By default, the words are hidden. Checking the “show words” checkbox will display them and allow you to delete them. Using the search field will also reveal any matching words.

23 Likes

Are staff bypassed here? TL4?

For staff it would be kind of weird to require approval by same staff member.

I am tempted to put a “require approval” on TL0 that have @sam in the post :face_with_thermometer:

8 Likes

Staff posts bypass these checks, but not TL4.

9 Likes

We should definitely move this into Logs, as in “Screened Words” (philosophically speaking, that’s what we’re doing, right?) I don’t really think this deserves its own top level grouping.

1 Like

https://github.com/discourse/discourse/commit/41c3941c4cf0caa13fe02c1d61cf7dd059b10d44#diff-74e2124f43157511de446b1deb7cb053

Thank you @eviltrout! Super useful for languages like Finnish. :+1:

10 Likes