User blog:Penguin-Pal/Ignore Users In Chat

Hello everyone,

Today Sgt Mecha asked about ignoring users in chat- a feature that is currently not available. So i thought to show you 3 different ways to achive this.

Method 1: Ignore Previous Messages
Add to your MediaWiki:Chat.js: What it does:
 * Type in the user's user name.
 * Press the "Ignore button".
 * It would hide previous messages, but not messages that were posted by this user after pressing.

Method 2: Ignore All Messages
Add to your MediaWiki:Chat.js: You do it just like in the previous method with the input box and the button.

What it does: I haven't included a way to prevent multi-submissions of the same user, but i might update it sometime.
 * Unlike the previous method, this one creates a &lt;style&gt; element that contains a CSS code for not displaying all messages by a certain user- previous messages and new ones.
 * It is a single element that looks like a log. You can delete certain CSS codes or teh entire element at any given moment, using F12.

Method 3: Ignore All Messages By Default
Add to your MediaWiki:Chat.css: Replace the words USER NAME with the user's names.

What it does:
 * Hides all messages by the selected user, without having an ignore input.

Method 4: Add Ignore Button to User Menu
Not done.. yet.

Finally
I hope that those of you who are interested in ignoring messages find this helpful.

Anyway, it is really rude to ignore someone, and i ask you not to use it. If a user is so annoying that you can't stand it, he probably deserves to be banned from chat instead. Also, who knows? maby you would miss something important :P

Have a happy editing (and cahtting, too!),

Penguin-Pal  (talk)  17:51, May 14, 2013 (UTC)