Add new convenience User method for authentication data change
authorGergő Tisza <gtisza@wikimedia.org>
Wed, 8 Jun 2016 20:08:45 +0000 (20:08 +0000)
committerGergő Tisza <gtisza@wikimedia.org>
Wed, 8 Jun 2016 21:19:11 +0000 (21:19 +0000)
commitb568497e9a863bf71338b254eb05ca3da9c38eb5
tree9395f409dec5d7aa9478dcd1e7ad6051519d1f37
parent69c8de34ad4ed1b9900aeb02cf66af4e502e582f
Add new convenience User method for authentication data change

Also update createAndPromote.php to use it so it can display errors.

Note that there are two possible approaches. The other is to
do the update for all requests for which the test passed,
even if some tests fail. The approach of the patch seems
more manageable from the caller's point of view
(either the operation was a success, or it failed and
nothing happened).

Change-Id: I86abed4b80472cd888337444fac0cbcb870b1246
includes/user/User.php
languages/i18n/en.json
languages/i18n/qqq.json
maintenance/changePassword.php
maintenance/createAndPromote.php