Extension:ShoutBox

The ShoutBox Extension is a MediaWiki extension which adds a parser function called #shoutbox for embedding ShoutBoxes into pages.


 * 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 dir.
 * 1) Enable the extension by adding this line to your LocalSettings.php: require_once('extensions/ShoutBox.php');

Usage
Once 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)