Thank you @
Bawolff This doesn't quite work it hangs: https://www.screencast.com/t/vrh7E4pW
I commented out the original Parsoid VE li which was:
#enable Parsoid to talk to VE
$wgVirtualRestConfig['modules']['parsoid'] = array(
// URL to the Parsoid instance
// Use port 8142 if you use the Debian package
'url' => 'http://localhost:8000');
So now I have:
#Load Parsoid php (experimental, code supplied by Bawolff at WM Support)
wfLoadExtension( 'Parsoid/PHP', "$IP/extensions/Parsoid/extension.json" );
$wgVirtualRestConfig['modules']['parsoid'] = [
'url' => $wgServer . $wgScriptPath . '/rest.php',
'restbaseCompat' => false
];
#-------
# load the visual editor
wfLoadExtension( 'VisualEditor' );
// Enable by default for everybody
$wgDefaultUserOptions['visualeditor-enable'] = 1;
I tried Edit Source and got this error, does it provide any clues?
Fatal error: Uncaught Exception: Unable to open file /home/groktor4/public_html/wiki/extensions/Parsoid/extension.json: filemtime(): stat failed for /home/groktor4/public_html/wiki/extensions/Parsoid/extension.json in /home/groktor4/public_html/wiki/includes/registration/ExtensionRegistry.php:136 Stack trace: #0 /home/groktor4/public_html/wiki/includes/GlobalFunctions.php(52): ExtensionRegistry->queue('/home/groktor4/...') #1 /home/groktor4/public_html/wiki/LocalSettings.php(164): wfLoadExtension('Parsoid/PHP', '/home/groktor4/...') #2 /home/groktor4/public_html/wiki/includes/Setup.php(124): require_once('/home/groktor4/...') #3 /home/groktor4/public_html/wiki/includes/WebStart.php(81): require_once('/home/groktor4/...') #4 /home/groktor4/public_html/wiki/index.php(41): require('/home/groktor4/...') #5 {main} thrown in /home/groktor4/public_html/wiki/includes/registration/ExtensionRegistry.php on line 136
If you don't know what more I should do can you suggest somewhere else to ask?
Thank you