I installed Parsoid and NodeJS.
I have error: "parsoidserver http 0"
require_once "$IP/extensions/VisualEditor/VisualEditor.php";
Localsettings.php
// Enable by default for everybody
$wgDefaultUserOptions['visualeditor-enable'] = 1;
// Don't allow users to disable it
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgVisualEditorParsoidURL = 'http://localhost:8142';
$wgVirtualRestConfig['modules']['parsoid'] = array(
// URL to the Parsoid instance
// Use port 8142 if you use the Debian package
'url' => 'http://localhost:8142',
// Parsoid "domain", see below (optional)
'domain' => 'localhost',
// Parsoid "prefix", see below (optional)
'prefix' => 'localhost'
);
Settings.js
parsoidConfig.setMwApi({ prefix: 'localhost', uri: 'http://viki.gameofthronestr.com/api.php' });