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:


 * Install the VisualEditor extension like you would most extensions, i.e. by adding a line like  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 new parser (Parsoid) 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  to your LocalSettings.php to specify your Parsoid instance;
 * You will need to create a  in the   directory to ensure that Parsoid is aware of your local wiki. Follow the example in , and restart your node server if necessary.