Topic on Talk:RESTBase/Installation

RESTBase won't talk to Parsoid

3
Prh47bridge (talkcontribs)

I am using the latest RESTBase from git with MediaWiki 1.39.3. If I sent a page/html/SOMETITLE request to RESTBase, I can see from the logs that it is calling MYDOMAIN/w/rest.php/MYDOMAIN/v3/page/pagebundle/SOMETITLE/VERSIONID. However, this returns a 404 error saying that the requested relative path did not match any known handler. Any thoughts? Am I missing a configuration setting somewhere?

Ciencia Al Poder (talkcontribs)

You have to include the Parsoid "extension" in localsettings.php:

wfLoadExtension( 'Parsoid', "$IP/vendor/wikimedia/parsoid/extension.json" );

At least that's what I had to add to make it work on my installation, with this exact problem

Prh47bridge (talkcontribs)

That worked. Thanks.