I am not sure if this is the right forum. I fail to get VisualEditor working with RESTBase for switching between source and visual editing.
VisualEditor is working fine with the following setting:
## VisualEditor
wfLoadExtension( 'VisualEditor' );
$wgVisualEditorAvailableNamespaces = [
NS_EXTRA => true
];
$wgVirtualRestConfig['modules']['parsoid'] = [
'url' => 'https://wiki.example.org:8143',
'domain' => 'wiki.example.org'
];
This works great. Visual editing is possible.
Now I also set up RESTBase which is accessible and running via https://wiki.example.org:7232/wiki.example.org/v1/ If I do curl https://wiki.example.org:7232/wiki.example.org/v1/page/html/Main_Page
I get the expected results.
However when I add I get issues:
$wgVirtualRestConfig['modules']['restbase'] = [
'url' => 'https://wiki.example.org:7132',
'domain' => 'wiki.example.org'
];
$wgVisualEditorRestbaseURL = 'https://wiki.example.org:7232/wiki.example.org/v1/page/html/';
$wgVisualEditorFullRestbaseURL = 'https://wiki.example.org:7232/wiki.example.org/';
Setting https://wiki.example.org:7132/wiki.example.org/ to url and other variations does not help either.
I just continue to get “curl error: 7” errors.