Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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.