Extension:Climate Crisis AIT Pledge Widget

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
Climate Crisis AIT Pledge Widget

Release status: stable

Implementation Tag
Description Allows insertion of the AIT Pledge Widget in a MediaWiki page.
Author(s) PatrikRoy
Last version 1.01 (2007-03-13)
MediaWiki 1.8 and up
License No license specified
Download -
Example -

Check usage (experimental)

Contents

[edit] What can this extension do ?

Allows adding the flash Climate Crisis "An Inconvenient Truth" Pledge Widget into one or more MediaWiki page using a simple tag.

[edit] 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 :

<aitpw>key=0123456789ABCDEF0123456789ABCDEF</aitpw>

Pipes ("|") can separate other optional parameters, see "get parameters from argument-array" code section to add some.

[edit] 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");

[edit] Parameters

  • key

[edit] Source code

Script:Aitpw.php

[edit] Example

cosmochips.net

[edit] Update

The depository of this extension is no longer available

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox