From d8aa99e35cb48c6d370b5a7d77f6f3af6a0a6dc5 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Tue, 17 May 2022 19:51:17 -0400 Subject: [PATCH] Stop passing scrub_wikitext It's no longer optional in Parsoid. Bug: T297298 Change-Id: Ice36f4f4b82b0286799e9eedd164ca8d2dfc2b2e --- includes/ApiParsoidTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ApiParsoidTrait.php b/includes/ApiParsoidTrait.php index 20412b72b9..9b461f6c5b 100644 --- a/includes/ApiParsoidTrait.php +++ b/includes/ApiParsoidTrait.php @@ -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 );