Jforrester has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/331809 )
Change subject: ApiVisualEditorEdit: Use 'html' format for API errors so we can see them ...................................................................... ApiVisualEditorEdit: Use 'html' format for API errors so we can see them The Translate extension emits errors when the saved text is in error — * pt-parse-open, * pt-parse-close, * pt-shake-position, * pt-shake-multiple, * pt-shake-empty, or * pt-parse-nested Switching to 'html' error message format means we pay attention to the top error, displayed in the user's language. This avoids showing 'editaborted' generic messages when we can actually help people with specifics. Change-Id: Id9d7e510e32a3a13cc061648679e01edd68a3868 --- M ApiVisualEditorEdit.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor refs/changes/09/331809/1 diff --git a/ApiVisualEditorEdit.php b/ApiVisualEditorEdit.php index 5a9e503..baacfda 100644 --- a/ApiVisualEditorEdit.php +++ b/ApiVisualEditorEdit.php @@ -25,6 +25,7 @@ 'basetimestamp' => $params['basetimestamp'], 'starttimestamp' => $params['starttimestamp'], 'token' => $params['token'], + 'errorformat' => 'html', ]; if ( $params['minor'] ) { -- To view, visit https://gerrit.wikimedia.org/r/331809 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id9d7e510e32a3a13cc061648679e01edd68a3868 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/VisualEditor Gerrit-Branch: master Gerrit-Owner: Jforrester <jforres...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits