FANDOM


Nuvola apps important
This script is for PERSONAL use only!
You are free to install this script for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:Common.js or MediaWiki:Wikia.js), as it would violate FANDOM's Terms of Use.
(See the customization policy)

MessageBlocker is a script for FANDOM Chat that is able to prevents all messages by a certain user, or set of users, from appearing.

This extension affects Chat on a personal level only. It does not interfere with messages as seen by other users.

Usage

Guide

User menu

To block or allow messages from a user, click on their name in the user list to bring down the user's drop down menu. The option is below the "Private Message" button.

Modal

There is a modal that lists all users currently blocked. This is accessible through the "MB" button and the !blocklist command.

The modal has a button to clear the list of banned users.

Commands

MessageBlocker has the following text commands. To use them, insert the command into the text pane, and press Enter:

  • !blocklist - opens a modal that lists blocked users
  • !block - block a user
    • !block Dzylon will block Dzylon
  • !unblock - unblock a user
    • !unblock FANDOMBot will unblock FANDOMBot

Notes

  • Messages posted by users with chatmod rights cannot be blocked with this script. This includes local administrators, staff, FANDOM Helpers and VSTF members.
  • The script stores data for blocked users in localStorage. Thus, users can't be blocked across wikis.
  • The script also does not block PMs from users, as Chat can do this.

Updates

Changelog

December 5 2012 (v1.0)
Dzylon: Initial release.
December 11 2012 (v1.1)
Dzylon: Inline stylesheeting for user blocks.
August 23 2017 (v1.2)
Speedit: Local storage support, some front-end improvements and cleanup.
February 29 2018 (v1.3)
Speedit: I18n support, performance improvements (logic rewrite, preload dependencies), DRY.
March 4 2018 (v1.4)
Speedit: Text commands, moderator checking, user cache validation, further logic rewrites.
May 6 2018 (v1.5)
Speedit: Updated to use WDSIcons library.
June 6, 2018‎ (v1.6)
Speedit: Updated to use Chat-js, multiple bugfixes.

  • Fix for usernames with spaces in text commands.
  • Show "empty list" indicator when launching !blocklist modal.
  • Prevent unblocking error when only one user is blocked.