mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
Stop passing scrub_wikitext
It's no longer optional in Parsoid. Bug: T297298 Change-Id: Ice36f4f4b82b0286799e9eedd164ca8d2dfc2b2e
This commit is contained in:
parent
377a6523ae
commit
d8aa99e35c
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue