XZise added a comment.
I think there is a misunderstanding. As I understand it Parsoid is used to convert
wikitext into HTML and back. But pywikibot works almost entirely on wikitext so there is
no need for Parsoid (or RESTBase) to convert it into HTML. At the moment it is just
reading the wikitext (and mwparserfromhell/mwlib are parsing that wikitext) and @jayvdb
suggested that someone actually writes JSON content into the page (which would act like
wikitext and can be parsed by Python without external libraries). Using HTML would have
similar problems like mwpfh/mwlib as we'd need to parse the HTML which could in fact
be more problematic.
TASK DETAIL
https://phabricator.wikimedia.org/T95142
REPLY HANDLER ACTIONS
Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign
<username>.
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise
Cc: Krenair, gerritbot, XZise, Ricordisamoa, jayvdb, Aklapper, pywikipedia-bugs