Extension:GoogleWave

Note
This extension is basicaly unmaintained. If you want to take over please shoot me an email at mickewiki at gmail period com

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 (unless you use the Google Chrome Frame extension).

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). At this point, there are two ways of getting the wave id from the Google wave server that I know of(and none of them are good).
 * 1) Use the URL
 * 2) * Click on a wave in the Google Wave site, the resulting URL might look something like this: https://wave.google.com/wave/#restored:wave:googlewave.com!w%252BP9PIf1t-A
 * 3) *remove everything except
 * 4) *change the part after the exclamation mark from  to:
 * 5) *you are done and you wave id is
 * 6) * Note: Sometimes Google Wave displays a dot and a digit at the end of a wave url, for example:  that dot and digit should be removed as well.
 * 7) Use a bot
 * 8) * add  to you wave, it will spit out the wave id (among other things). Once you get the id you can delete the bots messages
 * 9) Note: In the wave sandbox UI you can also get the wave-id directly:
 * 10) * Press the "Debug" link at the top of the page next to your username and select "Get current Wave ID".

The MediaWiki wave tag now supports all the attributes that a wave can handle: Only the id attribute is required how ever. You can specify a wave server with this attribute:
 * id (required)
 * height
 * width
 * color
 * bgcolor
 * font
 * fontsize
 * waveServer

waveServer="https://wave.google.com/wave/" The extension defaults to the Google 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.

Known Wave Servers

 * https://wave.google.com/wave/ - The Google wave server
 * http://wave.google.com/a/wavesandbox.com/ - The sandbox wave server
 * http://pygowave.net/waves/ - PyGoWave server

svn
You can download the latest version of the code from svn with the command:

Make sure you issue this command from the directory.

Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

Archive
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

 * There are no know bugs at this time

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