jenkins-bot has submitted this change and it was merged.
Change subject: Ensure wikitext is treated as such in PST
......................................................................
Ensure wikitext is treated as such in PST
Fixes T92934
Bug: T92934
Change-Id: I9cc75b18ae65ab0a986e9916d0c685fc1bf8b31e
---
M ApiVisualEditor.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Catrope: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ApiVisualEditor.php b/ApiVisualEditor.php
index f0dfe1e..31d8aad 100644
--- a/ApiVisualEditor.php
+++ b/ApiVisualEditor.php
@@ -193,7 +193,7 @@
}
protected function pstWikitext( $title, $wikitext ) {
- return ContentHandler::makeContent( $wikitext, $title )
+ return ContentHandler::makeContent( $wikitext, $title,
CONTENT_MODEL_WIKITEXT )
->preSaveTransform(
$title,
$this->getUser(),
--
To view, visit https://gerrit.wikimedia.org/r/197412
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I9cc75b18ae65ab0a986e9916d0c685fc1bf8b31e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: EBernhardson <[email protected]>
Gerrit-Reviewer: Trevor Parscal <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits