Hello everyone,
However, I can't get past "Error contacting the Parsoid/RESTBase server (HTTP 404)" error.
My current VE-related config:
wfLoadExtension( 'Parsoid', '/mnt/wiki/data/code/vendor/wikimedia/parsoid/extension.json' );
wfLoadExtension( 'VisualEditor' );
$wgVisualEditorParsoidAutoConfig = false;
$wgParsoidSettings = [
'useSelser' => true,
'rtTestMode' => false,
'linting' => false,
];
$wgVirtualRestConfig['modules']['parsoid'] = [];
$wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true;
// Enable by default for everybody
$wgDefaultUserOptions['visualeditor-enable'] = 1;
// Don't allow users to disable it
$wgHiddenPrefs[] = 'visualeditor-enable';
$wgVisualEditorTabPosition = 'after';
I tried to allow read/write access for the server's public and loopback IP, but that didn't unbreak visualeditor. I also skip Shibboleth configuration if the request comes from the server itself.
The wiki is hosted as HTTPS-only, I'm not sure whether that causes any issues.
Also note I use $wgHTTPProxy, as the server doesn't have direct access to the internet.
Any help would be appreciated.
Thanks,
Martin Urbanec