Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been having issues with Parsoid and VisualEditor recently, getting this error everytime I try to edit the page:

Error loading data from server: Server error.

share|improve this question

The solution was to edit my config to setup appropriately. In the Parsoid localSettings.js, the first value should be an identified for a wiki, and the second a URL to the api.php service.

parsoidConfig.setInterwiki( 'localhost', 'http://127.0.0.1/api.php' );

Secondly, I had to change $wgVisualEditorParsoidURL in LocalSettings.php to reflect this:

$wgVisualEditorParsoidURL = 'http://127.0.0.1:8000/localhost';
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.