Page MenuHomePhabricator

POST /:domain/v3/transform/:from/to/wikitext/:title?/:revision?
Open, Needs TriagePublic

Description

Transforms HTML for the title and/or revision into wikitext. :from can be "html" or "pagebundle", where "pagebundle" is a multipart JSON format.

https://www.mediawiki.org/wiki/Parsoid/API#HTML_-%3E_Wikitext

Event Timeline

Tgr claimed this task.Jun 11 2019, 3:34 PM

Change 519645 had a related patch set uploaded (by Gergő Tisza; owner: Gergő Tisza):
[mediawiki/services/parsoid@master] Implement html->wt in the REST API

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

Change 519645 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Implement html->wt in the REST API

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

RI involvement has officially ended in June. The code is functional but not production quality, I'll try to find the time to fix it up at some point but can't make any promises.