Extension:ShoutBox

The ShoutBox Extension is a MediaWiki extension which adds a parser function called #shoutbox for embedding a shoutbox into pages. Only shoutboxes hosted by http://www.shoutbox.us are supported. This means a user must go to shoutbox.us, create an account then create a shoutbox. The id is the shoutbox id from this site.


 * Project Homepage: ShoutBox Extension - Jimbojw.com
 * Source Code: ShoutBox.php
 * Licensing: ShoutBox is released under The MIT License.

Installation

 * 1) Download ShoutBox, and be sure to rename the downloaded file to ShoutBox.php.
 * 2) Drop this script in $IP/extensions
 * Note: $IP is your MediaWiki install directory.
 * 1) Enable the extension by adding this line to your LocalSettings.php:

Usage
Once this extension is installed, you (or editors of your wiki) may begin embedding shoutboxes into any article.

The parser extension expects to be called in any of the following ways:
 *   (if a $wgShoutBoxDefaultId has been specified) -or-
 *   -or-
 *  </tt> -or-
 *  </tt>

Where:
 * id</tt> is the id of the shoutbox to display
 * width</tt> (optional) is the width in pixels of the shoutbox (defaults to 150 if unspecified)
 * height</tt> (optional) is the height in pixels of the shoutbox (defaults to 300 if unspecified)