Extension:OnlineStatus

This extension adds a preference to allow each user to select his status and show it on his user (talk) page. The user can use  or   to show it. It will also add a subtitle on the page if he checked the check box in his preferences.

Installation

 * download a snapshot
 * Put them in  directory of your MediaWiki installation, then edit   and add the following line :

Running it
After installing the extension, there will be a new preference that will allow users to select his status and a check box to select if the status should also be displayed with a subtitle. You can display it using: Note that  and   can only be used on user (talk) pages and subpages. The status can be set in, one status per line and each line containing a status has to begin with *. If you add new status, you'll have to create two new messages per status:
 * : a formatted (and translated) string describing the status (exactly the same you can see near the radio boxes in Special:Preferences).
 * : the internal name of the level.
 * : get online status of any user on any page, if you want the raw version, pass a non empty second parameter.
 * : will appear on Special:Preferences and  magic word
 * : will be the subtitle of user page if he select this status.

Configuration
The extension also add  parser function that allows to fetch status of any user in the wiki. If you don't want this feature, set  to   in LocalSettings.php file.