FANDOM


ChatAnnouncements allows you to make announcements in chat. By default only chat moderators and above can send announcements, though you can set a variable above the site-wide import to allow anyone to do it.

NOTE: It MUST be imported in the wiki's MediaWiki:Chat.js page or it will not work site-wide.

Installation

To install this script add the following to your wiki's MediaWiki:Chat.js:

importScriptPage('MediaWiki:ChatAnnouncements/code.js', 'dev');

If you'd like to make the script usable for everyone, add the following above the import statement:

chatAnnouncementsAll = true;

If you'd like to make the script not show the message author when /sendannouncement is used, add the following above the import statement:

chatAnnouncementsAnonymous = true;

Usage

To send an announcement, send a message to chat start with /announce or /sendannouncement, followed by the announcement contents. Anonymous announcements will only work when /sendannouncement is used.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.