Extension:IM Status

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
IM Status

Release status: stable

Implementation Tag, MyWiki
Description Provides status buttons for several IM programs (AIM, Google Talk, ICQ, MSN/Live Messenger, Skype, Xfire and Yahoo)
Author(s) David Dernoncourt (PatheticcockroachTalk)
Last Version 1.1-rc1 (2008-04-28)
MediaWiki 1.12, 1.13 (maybe earlier versions, but not tested)
License GNU GPL v3 or later
Download Official website
Example Test page on Wiki4Games

The IM Status extension provides buttons to show online status of the user in various IM clients (AIM, Google Talk, ICQ, MSN/Live Messenger, Skype, Xfire and Yahoo).

Contents


[edit] Usage

To embed an AIM button inside a MediaWiki article (or more likely a userpage):

<aim>AIM-Username</aim>

To get some help about the AIM button:

<aim help/>

The same syntax is used for all the other supported IM programs:

  • <icq help/> (ICQ)
  • <gtalk help/> (Google Talk)
  • <livemessenger help/> (MSN/Live Messenger)
  • <skype help/> (Skype)
  • <xfire help/> (Xfire)
  • <yahoo help/> (Yahoo Messenger)

Use Extension talk:IM Status to report issues or ask for help

[edit] Installation

  1. Edit IMStatus.php: change $wgAimKey_presence and $wgAimKey_api to your own keys (see the source about how to get the keys).
  2. Put IMStatus.php in your extensions folder (or in a subdirectory of it, as you want)
  3. Add the following code at the end of LocalSettings.php:
    require_once( $IP."/extensions/IM/IMStatus.php");
    (replace, of course, with the proper path!)
  4. (optional) For additional locales, grab the latest revision of IMStatus.i18n.php at Extension:IM Status/IMStatus.i18n.php

[edit] Code

Grab the archive at http://www.patheticcockroach.com/mpam4/index.php?p=78

  • The latest stable version is 1.1-rc1
  • The latest beta version is 1.2-b1

To contribute to the translation, edit the localization file at Extension:IM Status/IMStatus.i18n.php.

[edit] Related extensions

NB: do not install extensions which use the same tags!
Chat Extensions
AIM | ICQ | IM Status | Jabber | Skype | Yahoo

[edit] History

  • 2008-04-26 (1.0-rc1): first version
  • 2008-04-28 (1.1-rc1): added MSN/Live Messenger support
  • 2008-06-10 (1.2-b1): added defined('MEDIAWIKI') check, fixed various typos, made the extension localizable
Personal tools