API: More i18n cleanup
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 8 Dec 2016 17:56:37 +0000 (12:56 -0500)
committerAnomie <bjorsch@wikimedia.org>
Thu, 8 Dec 2016 21:25:38 +0000 (21:25 +0000)
commit1f15d1d5828dfbc70d036a52da57460ea0e89175
tree63d032fcf5c41e10de941dd0483ea7b666c95043
parent20f0da437eeed7e8ca28be911f53535be82889a1
API: More i18n cleanup

* Use errorformat for action=login Failed responses in non-BC mode.
* We removed 'messageHtml' from action=rollback's response on error, but
  left it for success. Remove it there too, it's even less useful.
* We changed action=watch's reporting of errors, but left the
  mostly-pointless reporting of "success" UI messages. These should be
  handled on the client side.

Change-Id: Ia6c402a4254fbacf4c2c3f125ce8bf0bcc71e509
RELEASE-NOTES-1.29
includes/api/ApiLogin.php
includes/api/ApiRollback.php
includes/api/ApiWatch.php
resources/Resources.php
resources/src/mediawiki/api/watch.js
resources/src/mediawiki/page/watch.js