Parsoid-PHP is being developed as a Composer library.
It is in active development while we develop these routes.
It has not been subject to security review, so code that imports the Parsoid-PHP library can't be merged into the master branch for MediaWiki.
We have at least these options:
- Defer developing the Parsoid routes until the Parsoid PHP library meets the requirements necessary to merge to master. Estimate is ~2-3 months from today, at best.
- Create a feature branch in Git. This is unusual while we use Gerrit.
- Create a "main" patch in Gerrit, and then other patches depend on that main patch, so they are effectively a feature branch. Perhaps the main patch simply imports Parsoid-PHP?
- Dependency injection...? Or a mechanism to use a mock Parsoid PHP interface, which can be replaced with the Parsoid PHP library when that is ready to merge to master.