The result of this task will be a list of services that accesses Parsoid via RESTBase in order to know which ones to begin migrating to access Parsoid via core.
- Mobile Apps (PCS) - Page content service is already doing this and Yiannis is looking (?) into it. Cc @Jgiannelos
- The /v1/summary/* endpoints is now a pass through to mobile apps so any service that calls these endpoints end up in mobile apps and mobile apps will do the right thing. Preferably, services that call the /v1/summary/* endpoints should just call mobile apps directly.
- Content Segment from cxserver, see T344982
- Endpoints involved are:
- /v1/segment/{title}
- /v1/segment/{title}/{revision}
- /transform/
- /page/html/
- Endpoints involved are:
- MediaWiki with VirtualRestService from mediawiki appservers: VisualEditor, Flow, Math etc.
- ContentTranslation (CX) has already been migrated, see: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ContentTranslation/+/859459
- NOTE: The RESTbase client code is still there that will need to be deleted in the future.
- VisualEditor is on the way of complete migration to use Parsoid directly. It's still using VRS clients until full switch flip.
- Flow is using the /v1/transform/* endpoint: https://gerrit.wikimedia.org/g/mediawiki/extensions/Flow/+/d2048d9a92825e28276c8b29b191ba78c9afb26a/includes/Conversion/Utils.php#132
- Popups extension uses the /v1/summary/* endpoint for page previews
- See https://gerrit.wikimedia.org/g/mediawiki/extensions/Popups/+/3573232c2168ef404762936e7176f1230365892c/README.md#51 (for example config)
- Also see: https://codesearch.wmcloud.org/search/?q=PopupsRestGatewayEndpoint for the config var.
- VEForAll extension calls RESTBase's /transform/ endpoint: https://gerrit.wikimedia.org/g/mediawiki/extensions/VEForAll/+/cffa12abb85200e90b1cbc636325b1ec1a89a6af/includes/ApiParsoidUtilsOld2.php#133
- ContentTranslation (CX) has already been migrated, see: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ContentTranslation/+/859459
- Wikifeeds/Feed
- Brief overview: https://wikitech.wikimedia.org/wiki/Wikifeeds
- The /page/random/summary endpoint for example ends up calling /page/html which accesses Parsoid to get the HTML of a page.
- Other endpoints will need to be investigated if they call Parsoid (WIP)