Extension:EtherEditor

EtherEditor is an extension that allows a user collaboratively edit with all other users editing a page. It was developed by Mark Holmquist.

Installation and Configuration
In order to get this extension working, you'll need to do several things other than actually installing the extension. This is because the extension relies on an external service running somewhere else entirely.

Via Git
Etherpad Lite can be obtained from their GitHub page. You should download the develop branch like so (but install Git first):

Via Debian Package (EXPERIMENTAL)
You can also try to get the software from the very experimental Debian package prepared for the process of deploying this extension on this site. That package is not currently guaranteed to work, but it might work anyway. If you have any problems, please report a bug via Bugzilla.

Install Relevant Plugins
Next, you'll need to set up two extensions for Etherpad Lite. These can be found at the ep_plugins project page at Gitorious. Download both ep_ethereditor and ep_wikiauth, and put them into the node_modules directory inside of the main directory for your Etherpad Lite instance. Probably something like this:

After those commands, you should have a running Etherpad Lite instance on your machine! If you want to set up a more stable system, please see the wiki page at Etherpad Lite's GitHub.

Configuring EtherEditor
As you probably expected, EtherEditor needs to know where to find your Etherpad Lite instance. So, add a section to your LocalSettings.php that looks like so:

Change these values as needed. The apiKey value, in particular, will need to be changed--you can find its value in your Etherpad Lite instance's main directory, inside of APIKEY.txt. Be careful not to share this value with anyone!

update.php
It's very important that you run maintenance/update.php once you're ready to start using the extension. There are several necessary database tables added by the update hooks.

How to Use
See Extension:EtherEditor/How to Use.

How to Test
There is now some unit testing support, for both the client and server side, for EtherEditor. This should help the developers a lot, but also if you'd like to make absolutely sure that the extension is doing what it says it's going to do, we've provided ways to do that.

phpunit
All right, you have a shiny new tests/phpunit directory in your EtherEditor tree, so let's use it. Assuming you're in the root directory of your mediawiki install, you have followed the instructions for running the main MediaWiki test suite, and you already have a working install of EtherEditor, here are the steps:

If any of the tests fail for some reason, please make sure you've followed the instructions for setting up the extension properly, and that your configured Etherpad Lite instance is running. If everything is working on your end, it means you found a bug! Head on over to Bugzilla and give me what for. You deserve it.

qunit
WARNING! The remainder of this section assumes that you have manually downloaded. If you try this on the current master, you will totally not be able to do it. This notice can be safely deleted once that change is merged.

qunit tests are significantly easier. First, you'll need to add this variable to your LocalSettings.php:

Then, navigate to your wiki in a web browser, and go to Special:JavaScriptTest/qunit to run all of the client-side tests in your MediaWiki install. There's no way to reliably find the tests specifically for EtherEditor, but if you scroll around that page, you can choose to run individual tests without the rest. If this will be a frequent activity for you, you should probably bookmark the page for the EtherEditor tests!

And as above, if you find a failed test in the EtherEditor sections, please go to to Bugzilla and give me what for.

Development status
This extension is still very new, so don't trust it on a production wiki.

How to help
There are the normal channels for getting involved in this extension's development.


 * TranslateWiki has our messages
 * Edit this page to contribute to the community documentation
 * Test the extension at our test instance
 * Report a bug you see with Bugzilla
 * Help with bug reports over at Bugzilla
 * Join the IRC channel, #ethereditor on Freenode, to learn more!
 * Graphic designer? Cool! We could really use a logo....

Extension History

 * 2012-06-13: Mark put up the first test version. It wasn't pretty.
 * 2012-06 through 2012-08: Mark worked on further versions, approaching more stable things.
 * 2012-08-16: A big testing party was held in #ethereditor, and much fun was had by all.

Words about the extension

 * Announcement on wikitech-l about the extension
 * Water cooler post on Wikinews
 * Announcement of a newer vesion on wikitech-l
 * Announcement of the stress test on 2012-08-16, on wikitech-l

Related extensions

 * Extension:VisualEditor
 * Extension:WikiEditor
 * Extension:EtherpadLite