As Parsoid/PHP been implemented in production. It is now a good time to decide what we should do about puppet roles that are using the old Parsoid/JS since the current parsoid.pp role will no longer represent the production environment
Currently, the following roles are required to use Parsoid/JS:
- parsoid.pp
- iegreview/manifests/init.pp
- ocg/manifests/init.pp
- iegreview.pp
- visualeditor.pp
- contenttranslation.pp
- restbase.pp
- flow.pp
- wikimediaproduction.pp
There are a few options for:
- Add _js to the end of the name of all current puppet roles that need Parsoid/JS and create new roles that using Parsoid/PHP
- Add _php to the end of the name of all newly created puppet roles that use Parsoid/PHP and keep the name of roles using Parsoid/JS intact.
- Replace the current roles that need Parsoid/JS to Parsoid/PHP
Personally, I prefer option 1 as deleting old Parsoid/JS's role after a few years will not be a headache, as well as keeping compatibility for older Mediawiki installation.