From Freephile Wiki
Revision as of 10:13, 30 April 2020 by Admin (talk | contribs) (Some introductory test info on Parsoid)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In QualityBox, we run Parsoid on port 8000 rather than the default 8142.

You can check the version with

curl localhost:8000/version

You can check parsoid output with

curl -L http://localhost:8000/wiki/v3/page/html/Main_Page/

where 'wiki' is the name of a domain you find in the config

grep domain /etc/parsoid/config.yaml

You can check the output of parsoid converting wikitext to HTML:

/etc/parsoid/bin# echo "'''This is bold'''" | node parse and node parserTests