Setup
- MediaWiki 1.35.0-rc.2 (0f1a2a2) 18:43, 21 August 2020
- PHP 7.2.24-0ubuntu0.18.04.6 (apache2handler)
- MariaDB 10.1.44-MariaDB-0ubuntu0.18.04.1
- VisualEditor 0.1.2 (cc95db5) 18:39, 21 August 2020
- wikimedia/parsoid 0.12.0-a23
Configuration
$wgVirtualRestConfig['modules']['parsoid'] = [ 'url' => 'http://sandbox.semantic-mediawiki.org:8142', 'domain' => '99071' ]; $wgVirtualRestConfig['modules']['parsoid']['forwardCookies'] = true; wfLoadExtension( 'VisualEditor' ); $wgVisualEditorAvailableNamespaces = [ 'File' => false, 'Category' => false, 'Extra' => true, 'Locked' => true ]; $wgVisualEditorEnableWikitext = true; $wgDefaultUserOptions['visualeditor-newwikitext'] = 1;
Issue
With the configuration above VisualEditor works better than ever, i.e. it is faster and I can even switch between visual editing and source editing without problems. However once I comment out the $wgVirtualRestConfig settings, VisualEditor fails completely:
Error contacting the Parsoid/RESTBase server (HTTP 500)
From the communication about VisualEditor for Mw 1.35 I picked up, I may be wrong here, that $wgVirtualRestConfig settings are no longer required, since nodejs/parsoid is no longer required.
Basically the question is: Am I doing something wrong or is this expected?