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.
To install this script add the following to your wiki's MediaWiki:Chat.js:
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;
To send an announcement, send a message to chat start with
/sendannouncement, followed by the announcement contents. Anonymous announcements will only work when
/sendannouncement is used.