Parsoid/JS/Troubleshooting

First, follow the setup instructions. If you aren't using Ubuntu or Debian, then you might have to follow the developer setup instructions instead.

Check that your localhost interwiki is set up correctly
First check that your api is accessible from the server Parsoid is going to run on:

Then set this URL in your  (  in a developer install):

(In older versions of mediawiki, the api.php file is located in a subfolder, e.g.  '/w/' . In this case, the uri would be: ' https://your-mediawiki-server/w/api.php' .)

Now (re-)start Parsoid ( on Ubuntu,   on Debian,   in a developer install) and verify that it is working: Usually "Main_Page" is a good candidate for &lt;pagename&gt;.

The first "localhost:8xxx" is yours (Apache) web server virtual host, for example it can be: your.public-domain.com; localhost; 127.0.0.1; 192.168.0.xxx; etc.). The second "/localhost/" is those setted up in:.

You can set up any number of wikis by adding more  statements in settings.js / localsettings.js.

Is your parsoid even working and "serving"? Check in your browser: yourDomain:8000/_wikitext/yourPrefix/ Type in some wiki styled text

Hit "Submit Query" button

Should see formatted text

Other things to check
Alternatively and similarly, you can set up your webserver to listen on another port, that is not open on your firewall, thus it can be standard http without SSL, therefore be accessed by Parsoid.
 * If your MediaWiki is private, then you need to set up VisualEditor to forward the cookie to Parsoid. See the VisualEditor instructions for this case.
 * If you enabled cookie forwarding, but Parsoid logs  (causes VisualEditor to 'load' indefinitely) when accessing a page, you may want to make sure you included the   in your config, as documented in the VE instructions.
 * If your MediaWiki runs via SSL, make sure that your Parsoid server can access your MediaWiki without certificate errors. In other words; make sure that the certificate is valid and added to the certificate storage on your Parsoid-running system.
 * Debian package version of Parsoid stores its logs in.
 * You might also want to check the Troubleshouting section of the Extension:VisualEditor page.