Page MenuHomePhabricator

Remove scrubWikitext as an option
Open, MediumPublic

Description

Maintaining this as optional is not providing any tangible benefits but has real costs to developer overhead. So, these normalizations will just always be enabled.

Two steps to be taken,

  1. Remove the flag from the code (I5de9e42ab0dd36a751c19e06dc42403bd7c7ada7)
  2. Now that we're always guaranteed to be serializing from a normalized form, we can eliminate some of the wikitext escaping that proves impossible to generate.

A third step could be to get clients to stop passing the flag, as a cleanup.

Event Timeline

Arlolra triaged this task as Medium priority.Dec 8 2021, 4:01 PM
Arlolra moved this task from Needs Triage to Tech Debt / Big changes on the Parsoid board.

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

[mediawiki/services/parsoid@master] Remove scrubWikitext as an option

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

Change 739961 merged by jenkins-bot:

[mediawiki/services/parsoid@master] Remove scrubWikitext as an option

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

Change 752716 had a related patch set uploaded (by Subramanya Sastry; author: Subramanya Sastry):

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.15.0-a14

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

Change 752716 merged by jenkins-bot:

[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.15.0-a14

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

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

[mediawiki/extensions/VisualEditor@master] Stop passing scrub_wikitext

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

Change 792742 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Stop passing scrub_wikitext

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