Extension:MediaWikiChat

The MediaWikiChat extension provides a lightweight chat client and server for MediaWiki, accessed through Special:Chat.

Features

 * Username autocompletion – Start typing a username, then press tab, and it will be completed. (As in IRC)
 * Pings – In user preferences, you can enable pings (chat playing a sound) when you receive mentions (someone says your name), private messages, or normal messages. Mentions will also be highlighted in red.
 * Fullscreen – In preferences, you can also enable chat to use fullscreen. (This is a slightly experimental feature that may need tweaks you your site's CSS (MediaWiki:Skinname.css) to fit properly with your skin.)
 * Away status – You can click a button to mark yourself as away from chat. This will grey-out your name and avatar in the online users list, and later mark yourself as being back. This feature also has an associated API action.
 * /me messages - as in IRC, you can send a "/me status" message, to show a system message with your status.

Configuration parameters
These should be added below the  – Enable the 'kicking' of other users by chatmods and sysops? Disabled by default.
 * – Load users' avatars from SocialProfile? Enabled by default.
 * – Parse of messages through the WikiText parser? Enabled by default.
 * – Allow the use of the  attribute on HTML elements? Enabled by default.
 * – the length of time it takes for a user to be considered offline. Smaller values give faster response times for users to be considered offline, but increase the chance of users being reported offline when they aren't, there may just be a temporary blip in their connection to the server. Set in 100ths of a second. Default 6000 (1 minute).
 * – Show the online users module in the sidebar? Enabled by default.
 * – and  Stops users sending more than X messages per Y seconds. Defaults to 3 messages per 5 seconds.
 * – Link to user pages in the main chat window? Disabled by default.
 * – Enable "/me " command that prints a status-type message? Disabled by default.
 * – Sets the maximum length for a message. Defaults to 1000 (characters).
 * Although not technically a configuration variable, you can change the image denoting users who are chat moderators at MediaWiki:Chat-mod-image. Set this to the URL of the image you would like to use.

User rights

 * – users that are allowed to chat. Defaults to all registered users, except those in the 'blockedfromchat' group
 * – users that can 'kick' other users (if enabled) and block them. Defaults to sysops and users in the ' ' group.
 * – users that can see the private message log. Defaults to nobody, but you may like to add this group to CheckUsers/oversighters, for example.

Smileys
For example: and so on...
 * MediaWikiChat parses all messages to replace certain character combinations with 'smiley' images. The 'smileys' to use are set in MediaWiki:Smileys, and should use the following format:
 * :) Smile.png
 * =D Yay.gif
 * ;) Go-on-and-review-that-patchset-for-me.jpg

API
MediaWikiChat includes five new actions that can be used with api.php. The commands will run as the currently logged in user in the browser.
 * – Receives new chat messages
 * – Sends a message, where  contains the text for a chat message.
 * – Sends a private message, where  is the used ID of the user the PM is to be sent to, and   is the text of the private message.
 * – Kicks a user from chat, where  is the user ID of the user to be kicked. Only works if kicking is enabled and the current user is a moderator.
 * |   – Toggles your away status in chat.