Parsoid/PHP

Parsoid/PHP is the Parsoid codebase implemented in PHP. It is a port of (and replaces) the original Parsoid codebase, written in JavaScript.

Parsoid/PHP is the version running on Wikimedia Foundation servers in production on the current development version of MediaWiki (1.35). The integration of Parsoid/PHP with the core MediaWiki codebase is still in active development. If you are running MediaWiki 1.34 or earlier, you should probably stick with the JavaScript implementation of Parsoid for now. Installation instructions for Parsoid/PHP are on the main Parsoid page.

Developer setup
See the main Parsoid page.

Some other notes about configuration:


 * https://github.com/wikimedia/parsoid/tree/master/extension
 * https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/572034/7/tests/RTTestSettings.php
 * https://gerrit.wikimedia.org/r/c/operations/mediawiki-config/+/576169/1/wmf-config/CommonSettings.php
 * T248343

Historical notes

 * Moving Parsoid into Core