Hello,
I'm struggling to configure Parsoid. The server runs well but when I try the round-trip test page for example, I get the following error :
error: No API URI available for prefix: enwiki; domain: undefined path: /_rt/mediawikiwiki/Parsoid
Error: No API URI available for prefix: enwiki; domain: undefined
My configuration is the same for both LocalSettings.php and /usr/lib/parsoid/src/localsettings.js. Domain is set at what hostname command returns (wikirct), I choose the prefix myself (but I'm not sure it's the good way to do it) and the URI is something like http://mywebsite:80/api.php and when I test it with curl it works.
It looks like this in localsettings.js :
parsoidConfig.setMwApi({ prefix: 'wiki', domain: 'wikirct', uri: 'http://wikirct:80/api.php' });
It looks like this in LocalSettings.php :
$wgVirtualRestConfig['modules']['parsoid'] = array(
'url' => 'http://wikirct:8142',
'domain' => 'wikirct',
'prefix' => 'wiki'
);
What did I do wrong ?