Page MenuHomePhabricator

VisualEditor in 1.36-alpha with zeroconfig Parsoid throws 'Error contacting the Parsoid/RESTBase server (HTTP 404)'
Closed, ResolvedPublicBUG REPORT

Description

This is one of the VisualEditor 404 errors that affects developers using the master branch (1.36-alpha).
Parsoid auto configuration that was introduced in 1.35 was a temporary solution for the LTS. Pending a final solution this was removed in patch 622187.

Workaround for the time being:
add to LocalSettings.php

// For 1.36-alpha only
wfLoadExtension( 'Parsoid', 'vendor/wikimedia/parsoid/extension.json' );

See also:

Split from T263928#6593539

Event Timeline

matmarex added a project: MW-1.41-notes.
matmarex subscribed.

This problem should no longer occur on MediaWiki 1.41 and later, as VisualEditor no longer uses HTTP requests internally to contact Parsoid, it just calls the PHP methods directly (see T320529 for related work).

Please try MediaWiki 1.41 and hopefully VisualEditor will now finally just work. If you still encounter some issues, please file a new task.