Jump to content

Topic on Extension talk:VisualEditor

after git upgrade VE not working.

5
RobFantini (talkcontribs)

Hello after an git upgrade to latest of mediawiki and extensions, ve does not work. this displays:

Error loading data from server: no_vrs: The VirtualRESTService for the document server is not defined; see https://www.mediawiki.org/wiki/Extension:VisualEditor. Would you like to retry?


Has anyone else see that?

RobFantini (talkcontribs)

adding this to LocalSettings.php fixed the issue:

 $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'
);

note VE worked without that prior to the upgrade.

PS: Thank you for this great extension.

Maltazard (talkcontribs)

Thanks for this answer.

But after adding above codes to LocalSettings.php, another error occurs:

apierror-visualeditor-docserver-http-error: (curl error: 28) Timeout was reached.

Could you please help to fix this issue?

193.127.207.152 (talkcontribs)

same error :(

212.179.71.70 (talkcontribs)

I had the same problem and your solution fixed it, Thanks!

Reply to "after git upgrade VE not working."