Page MenuHomePhabricator

Build an integrated word filtering system for MediaWikiChat
Closed, DeclinedPublic

Description

It'd be useful for a list-like page like MediaWiki:Smileys were made that could list filtered/censored words such as swears or other inappropriate remarks.

Such messages to be included in this feature could be:

  • chat-filter - bulleted list of words to filter out in chat
  • chat-filter-image - image (like an emote) or text (like "####" censored text) to display instead of the filtered word
  • A chat preference to disable the filter, for example so that administrators could see what word was used if it were censored

There should also be a log for messages that have blacklisted words on the chat-filter interface message. It could be displayed at Special:Log/chatfilter possibly?

Original author: George Barnick @georgebarnick
Original date: March 24th, 2014
Original title: Separate "Smileys" page for word filter
Original ticket: https://github.com/Brickimedia/brickimedia/issues/262

Event Timeline

MacFan4000 changed the task status from Open to Stalled.Jul 11 2016, 4:45 PM
MacFan4000 assigned this task to UltrasonicNXT.
MacFan4000 triaged this task as Medium priority.
MacFan4000 added a subscriber: MacFan4000.

I suggest only having a blacklist would be an issue, as the Scunthorpe problem plays into this. A basic web filter won't do, since normal words like: class, assume, ambassador,and mass would be blocked if "ass" was on the blacklist.

Including a whitelist wouldn't be very efficient, since from that generated list, there's about ~800 results (813 to be exact) from just one word!

http://www.allwords.com/query.php?SearchType=2&Keyword=ass&goquery=Find+it%21&Language=ENG&v_PageSize=25

Any ideas on how to go about this? @ashley

I don't think this is gonna fly, and I'm suggesting WONTFIX.

Technical solutions to social problems sometimes work, but this is one of the cases where it's unlikely to ever work. We should have a wide discussion about chat and the policies surrounding it; but I, for one, do not support a total ban on all sorts of profanity. The Scunthorpe problem illustrates the importance of context, which is something an automatic filter can never fully get.

If we'd somehow manage to solve this, I have a feeling that the "solution" would create a lot more problems than it'd fix. It's just not worth of investing our time into this when we have far more pressing issues, such as the Meta -> Brickipedia image migration and a bunch of extension-related bugs and to-dos.

I think there isn't a need for this - maybe there was back in 2014 when George made it but its hardly worth time at the moment.

I'll talk to you guys on chat about it and then we'll do whatever based on we decide whether or not to close it (although I happen to agree with you guys)

WONTFIX per chat consensus.

Um, I might be wrong, but MediaWikiChat is not exclusively a Brickimedia extension, right? We build this extension for anyone to use, so it seems logical to integrate features that, even if Brickipedia might not deem it necessary, seem like a basic feature any public chatroom should have. I recall other wikis asking for a feature like this out of the extension...

Um, I might be wrong, but MediaWikiChat is not exclusively a Brickimedia extension, right?

No, you're absolutely right. It's free and open source software and for a reason. :)

We build this extension for anyone to use, so it seems logical to integrate features that, even if Brickipedia might not deem it necessary, seem like a basic feature any public chatroom should have.

Censorship doesn't work and is technically extremely hard to nail down properly. See my earlier comment where I suggested WONTFIX. Just like with the standard editing area (action=edit), there are no filters of any kind, because simple word filters don't understand the context. If we consider the word "dick", with or without an initial capital letter, it could, for example, refer to the 46th Vice President of the United States if the person who wrote it was too lazy to use capital letters where appropriate, or perhaps they just typoed it. It's not even as simple as "if the word 'Dick' appears in text and we're on a user talk page or a user board (etc.), don't allow the edit".

I recall other wikis asking for a feature like this out of the extension...

They are more than free to implement it -- that's what makes free and open source software so great! Should someone implement such a feature, I'm sure we can find someone to review it and maybe even merge it, or the very least add a hook for it. My earlier WONTFIX decision was meant to reflect the consensus of people more or less actively working on chat as well as using it -- it just happens that we all are Brickipedians.

If you want to reopen this ticket, by all means go ahead, I won't disagree with such a decision.