Amire80 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/252665
Change subject: Send both scrubWikitext and scrub_wikitext
......................................................................
Send both scrubWikitext and scrub_wikitext
Currently there is instability in how this parameter should be called,
so send both to make it work.
Bug: T115102
Bug: T114620
Bug: T117399
Change-Id: Ib97b787dc8c953a5f98fac2b4dbe788c79c9d0c8
---
M api/ApiContentTranslationPublish.php
1 file changed, 1 insertion(+), 0 deletions(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ContentTranslation
refs/changes/65/252665/1
diff --git a/api/ApiContentTranslationPublish.php
b/api/ApiContentTranslationPublish.php
index 96e573b..92c694a 100755
--- a/api/ApiContentTranslationPublish.php
+++ b/api/ApiContentTranslationPublish.php
@@ -120,6 +120,7 @@
'transform/html/to/wikitext/' . urlencode(
$title->getPrefixedDBkey() ),
array(
'html' => $html,
+ 'scrubWikitext' => 1,
'scrub_wikitext' => 1,
)
);
--
To view, visit https://gerrit.wikimedia.org/r/252665
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib97b787dc8c953a5f98fac2b4dbe788c79c9d0c8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ContentTranslation
Gerrit-Branch: master
Gerrit-Owner: Amire80 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits