Extension:MediaWikiChat

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

Features

 * Username autocompletion – Start typing the username of an online person (excluding yourself), 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.)
 * Idle users – after 10 minutes of inactivity, users on the sidebar will start to fade out (the background and text will get lighter), and a tooltip will appear showing how long the user has been idle for.
 * /me messages – as in IRC, you can send a "/me status" message, to show a system message with your status.
 * Blocking – by clicking on the link by a user's name in chat, (assuming you are a chat mod), you may block the user from chat. Users blocked from editing wikipages are blocked from chat by default.
 * Smileys – On your wiki you can add chat "smileys" or emoticons. See for more information
 * Wiki syntax support – Most of wiki syntax options work in chat messages and private messages
 * Clearing the chat – to clear the screen of messages, just refresh the page. This will clear the screen and you will only see new messages sent after you have refreshed the page.
 * Sidebar module - Skins that support the sidebar interface message ('MediaWiki:Sidebar`) will show a sidebar module of all the users currently on chat.

Configuration parameters
These should be added below the line of installing MediaWikiChat:
 * – Enable the 'kicking' of other users by chatmods and sysops Disabled 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).
 * 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.
 * – Load users' avatars from SocialProfile? Deprecated as of version 2.12.8. Avatars are loaded automatically if possible.
 * A 'toolbox' for chat rules/helpful links/etc can be shown above the chat window. Write the message at MediaWiki:Chat-topic.

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 some 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.