Extension:VisualEditor

The Visual editor project aims to create a reliable rich-text editor for MediaWiki. More information can be found here.

Currently it adds an experimental VisualEditor: namespace to a wiki, where the visual editor is enabled by default. The extension ships with Parsoid, and requires the parser service to be up and running in order to edit pages.

'''Use & hack this at your own risk, it's not nearly ready for real-world applications yet! Patches welcome.'''

Basic setup instructions
To experiment with this extension locally:

require_once("$IP/extensions/VisualEditor/VisualEditor.php");
 * Install the VisualEditor extension like you would most extensions, i.e. by adding a line like the following to your LocalSettings.php:

Congratulations, you should now have VisualEditor up and running! Test it by visiting a page like VisualEditor:Sandbox on your wiki and editing it.

Except... you can only save pages, not edit existing ones. That's because you don't have the Parsoid service installed yet. Follow the Parsoid installation instructions and start your Parsoid service. To get VisualEditor to talk to the parser, add the following, add a line like the following to your LocalSettings.php to specify your Parsoid instance: $wgVisualEditorParsoidURL = 'http://localhost:8000/';