Stop passing scrub_wikitext

It's no longer optional in Parsoid.

Bug: T297298
Change-Id: Ice36f4f4b82b0286799e9eedd164ca8d2dfc2b2e
This commit is contained in:
Arlo Breault 2022-05-17 19:51:17 -04:00
parent 377a6523ae
commit d8aa99e35c

View file

@ -249,7 +249,7 @@ trait ApiParsoidTrait {
protected function transformHTML(
Title $title, string $html, int $oldid = null, string $etag = null
): array {
$data = [ 'html' => $html, 'scrub_wikitext' => 1 ];
$data = [ 'html' => $html ];
$path = 'transform/html/to/wikitext/' . urlencode( $title->getPrefixedDBkey() ) .
( $oldid === null ? '' : '/' . $oldid );