Page MenuHomePhabricator

Split the TransformHandler class
Open, LowPublic

Description

The TransformHandler class should be split into two handlers:

  • WikitextTransformHandler takes wikitext and returns HTML or linter info.
  • HtmlTransformHandler takes HTML and returns wikitext.

Both handler classes shold support PageBundles, as input or output respectively.

We may need a third handler class for HTML-to-HTML (pb2pb) transformations, but it is not clear yet whetehr we need to expose this functionality via REST.

Event Timeline

daniel triaged this task as Medium priority.
daniel lowered the priority of this task from Medium to Low.Sep 26 2022, 3:40 PM
daniel raised the priority of this task from Low to Medium.
daniel lowered the priority of this task from Medium to Low.Oct 20 2022, 5:33 PM
MSantos subscribed.

I am removing RESTBase Sunsetting as this is not needed for it's completion. Please, re-add it in case I'm missing something.