System: 14.04 Ubuntu + Mediawiki 1.26 on Hyper-V. I'm trying to install the Visual Editor extension so that using the wiki is easier.
Error Code when I hit "edit" in my localwiki on Main_Page:
localwiki says:
Error loading data from server: (curl error: 7) Couldn't connect to server: parsoidserver-http-error:(curl error: 7) Couldn't connect to server. Would you like to retry?
I have curl, php5, and php5-curl installed. /var/log/parsoid/parsoid.log is empty. Visual Editor part of LocalSettings.php:
require_once "$IP/extensions/VisualEditor/VisualEditor.php";
$wgDefaultUserOptions['visualeditor-enable'] = 1;
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgVisualEditorParsoidURL = 'http://localhost:8142';
$wgVirtualRestConfig['modules']['parsoid'] = array(
'url' => 'http://localhost:8142',
'domain' => 'localhost',
'prefix' => 'localhost'
I haven't changed /etc/mediawiki/parsoid/settings.js except for this line:
parsoidConfig.setMwApi({ uri: 'https://localhost/api.php', prefix: 'localhost', domain: 'localhost' });
Using (https://github.com/wikimedia/parsoid/tree/master/guides/setup), I did 'npm install' in /var/www/html/extensions/parsoid, but when I get to 'node bin/server', I get
Error while reading config file: Error: ENOENT, open '/var/www/html/extensions/parsoid/config.yaml'
I think it's a problem with the parsoid server. Any help is appreciated.