Extension:Climate Crisis AIT Pledge Widget

What can this extension do ?
Allows adding the flash Climate Crisis "An Inconvinient Truth" Pledge Widget into one or more MediaWiki page using a simple tag.

Usage
Register your Pledge Widget at climatecrisis.net and get a unique 32 hexadecimal digits key. Use this key as a parameter, just like links and templates. Here is an example of the code to add in your wiki page : key=0123456789ABCDEF0123456789ABCDEF Pipes ("|") can separate other optional parameters, see "get parameters from argument-array" code section to add some.

Installation

 * save the source code to a file (aitpw.php) into the extension directory of your mediawiki installation
 * add the following to the end of LocalSettings.php: include("extensions/aitpw.php");

Parameters

 * key

Source code
Script:Aitpw.php

Example
cosmochips.net