The ShoutBox Extension is a MediaWiki extension which adds a parser function called #shoutbox for embedding ShoutBoxes.
It is released under The MIT License.
Contents |
This extension requires:
require_once('extensions/ShoutBox.php');
Note: All instructions in this section are strictly Optional
The following global variables may be specified in LocalSettings.php AFTER the require_once() call to activate the extension.
| Global | Purpose | Default |
|---|---|---|
| $wgShoutBoxMinWidth | Defines the minimum acceptable width in pixels for embedded shoutboxes. | 100 |
| $wgShoutBoxMaxWidth | Defines the maximum acceptable width in pixels for embedded shoutboxes. | 600 |
| $wgShoutBoxMinHeight | Defines the minimum acceptable height in pixels for embedded shoutboxes. | 100 |
| $wgShoutBoxMaxHeight | Defines the maximum acceptable height in pixels for embedded shoutboxes. | 1024 |
| $wgShoutBoxDefaultId | Default ID to use when creating a shoutbox. | null |
| $wgShoutBoxCSS | Absolute URL to CSS stylesheet to use when styling a shoutbox. | null |
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:
Where:
{{#shoutbox:27760|400}}
Got something to say?
or, read what others have said ...