Page MenuHomePhabricator

Remove implementation of the transform endpoint from the parsoid extension
Closed, ResolvedPublic

Description

The TransformHandler class has been copied into MediaWiki core, along with the ParsoidHandler base class. They should not be deteted from the parsoid extension, to avoid divergance and duplication of effort.

NOTE: the transform endpoint must for now still be exposed by the parsoid extension. But the path should be handled by the class implemented in MW core.
NOTE: the PageHandler class cannot be removed from the parsoid extension at this time, since it is structurally different from the equivalent endpoint in MW core.

Event Timeline

Change 804300 had a related patch set uploaded (by Daniel Kinzler; author: Daniel Kinzler):

[mediawiki/services/parsoid@master] Use core's TransformHandler and ParsoidHandler

https://gerrit.wikimedia.org/r/804300

Change 804300 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Use core's TransformHandler and ParsoidHandler

https://gerrit.wikimedia.org/r/804300

The original patch got reverted, but the revert got reverted by now: https://gerrit.wikimedia.org/r/c/mediawiki/services/parsoid/+/810145

Change 814892 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a16

https://gerrit.wikimedia.org/r/814892

Change 814892 merged by jenkins-bot:

[mediawiki/vendor@master] Bump parsoid to 0.16.0-a16

https://gerrit.wikimedia.org/r/814892