Extension:EtherpadLite

This is the manual of the EtherpadLite extension (in svn trunk) which is suited for MediaWiki trunk and PHP 5.3.x.

The EtherpadLite extension adds a tag &lt;eplite&gt; to the MediaWiki parser and provides a method to embed Etherpad Lite pads on MediaWiki pages. The Etherpad Lite server is not part of the extension.

The Wikiuser username is automatically preset as Etherpad editor and chat username (pictured). In the current version, the Etherpad username can be overwritten in the pad.

Usage
Some differently flavoured examples are shown. See screenshot and source code for complete list of parameters. You can determine pad servers, pad names (id), width, height of the window (iframe) on the MediaWiki page and many more parameters. Basically, you only have to indicate a pad name.

 



Installation
Add the following lines in LocalSettings.php:

Prerequisites
You need at least one Etherpad Lite host server on which the pad lives. Assign the base Url to  as shown above. For test purposes only - not for production - you can use http://beta.etherpad.org/p/ at your own risk.

For setting up your own Etherpad Lite server (based on node.js) see Etherpad Lite homepage https://github.com/Pita/etherpad-lite.

The extension is based on:
 * https://github.com/johnyma22/etherpad-lite-jquery-plugin
 * https://github.com/Pita/etherpad-lite/wiki/Embed-Parameters

The present MediaWiki extension does not require jquery. It adds an iframe.

Deinstallation

 * 1) remove the   from your $IP/LocalSettings.php
 * 2) delete   subdirectory