Extension:GoogleWave

Note
Google Waves are still experimental, and only open to invited developers at this time so bugs may be present both in the extension code and in the Wave code itself. Waves are meant to go public later in 2009. The code have only been tested in MediaWiki v. 1.15 but might work with earlier versions too (please leave a note on the talk page if you find that it doesn't). Waves are only supported for new versions of Firefox, Google Chrome and Safari so it won't work in e.g. Internet explorer at this time.

What can this extension do?
The GoogleWave extension makes it possible to embed Google Waves in your installation of MediaWiki using the The Google Wave Embed API.

Usage
You can use this extension to embed Waves in your wiki. This can be achieved with the wave-tag and id attribute like this:



Place the tag in your regular WikiML code in any page and you should be good to go (you must of course change the id to the actual id of the wave that you want to embed).

The MediaWiki wave tag now supports all the attributes that a wave can handle: Only the id attribute is required how ever. Since the only wave server that I know of is the wave sandbox that Google offers the extension defaults to that server, you can hower specify a different server with this attribute: It seems you need a trailing slash with the waveServer attribut:
 * id (required)
 * height
 * width
 * color
 * bgcolor
 * font
 * fontsize
 * waveServer

waveServer="http://wave.google.com/a/wavesandbox.com/"

I don't know if the waveServer attribut realy works though, since I haven't been able to test it (please let me know if you can get me an account on a differnt wave server). A full wave tag could e.g. look like this:



The Google wave docs specify that only pts format works for fontsize attribute, but px seems to work ok as well.

Download instructions
Download the code tar.gzzip, unpack the archive and place the folder named  in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Installation
To install this extension, add the following to LocalSettings.php:

Known issues

 * This extension doesn´t work very well with memcached, other types of caching is untested. If you use memcached you need to purge the page each time you wish to see the wave.
 * This version of the extension doesn't handle more than one wave in one page very well.

Should you find another bug, please report it at the talk page.