Page MenuHomePhabricator

Replace HTMLFormatter by Remex
Open, Needs TriagePublic

Description

wikimedia/html-formatter uses loadHTML. It shouldn't. It should use Remex.

Maybe we should just remove the HTMLFormatter framework into Remex and remove uses of the library entirely from core.

Event Timeline

We probably want to use the dodo library here, too.

Change 873766 had a related patch set uploaded (by Umherirrender; author: Bartosz Dziewoński):

[mediawiki/core@master] ApiHelp: Replace use of HtmlFormatter in fixHelpLinks()

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

Change 873766 merged by jenkins-bot:

[mediawiki/core@master] ApiHelp: Replace use of HtmlFormatter in fixHelpLinks()

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

Change #1030548 had a related patch set uploaded (by Func; author: Func):

[mediawiki/extensions/MobileFrontend@master] Convert the RemovableClasses feature into a Transform

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

Change #1030551 had a related patch set uploaded (by Func; author: Func):

[mediawiki/extensions/MobileFrontend@master] MobileFormatter: Use RemexHtml

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

Change #1030548 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] Convert the RemovableClasses feature into a Transform

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