>> Can you think of anything specific in your setup that
>> might be preventing that?
> In that case I think there could be something. I cannot start the parsoid 
> server with "service parsoid start",

What happens when you try to do that?


> so I must do it manuelly with nodejs and maybe thats the issue for it.

Are you passing it the config you've been working on?

`node server.js --config /path/to/localsettings.js`


>> If so, I'd suggest this change,
>> 
>> parsoidConfig.setMwApi({
>>   prefix: 'localhost',
>>   domain: 'localhost',
>>   uri: 'http://127.0.0.1/wiki/w/api.php'
>> });
>> 
>> (Note that we removed the first string argument there.)
> If I change my settings in that way i get this error:
> [fatal/request][localhost/v3/page/html/Main_Page/3] Did not find page 
> revisions for V3/page/html/Main_Page/3

Well, that's odd.  Do you have multiple MediaWiki instances
on that machine?

I'd suggest taking VE out of the equation and
just checking the Parsoid API for starters.

Your config says,

```
parsoidConfig.serverPort = 8000;
parsoidConfig.serverInterface = '0.0.0.0';
```

so, first ensure that Parsoid is running at,
http://localhost:8000/

then try visiting,
http://localhost:8000/localhost/v3/page/html/Main_Page

and confirming that it is parsing the wiki's main page
as expected.

---

Also, I'm not sure what the etiquette of this list is,
but since this is unlikely to be relevant to other
people here, maybe we should move the discussion off list.

Feel free to contact me or the Parsing team directly,
https://www.mediawiki.org/wiki/Parsoid#Contacting_us


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to