API: Add assertuser parameter
authorBrad Jorsch <bjorsch@wikimedia.org>
Wed, 5 Oct 2016 14:35:47 +0000 (10:35 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 5 Oct 2016 20:32:39 +0000 (16:32 -0400)
commitfec31a8b9d2a682ceadd012df7ff5ffd748f0493
tree610bcc1d38bc2026c4977c6ed516316110b74d42
parent12313956c58e88b98d4baf722464e09b4a351bf3
API: Add assertuser parameter

This was requested for the use of scripts that are concerned about the
possibility that the user might log in with a different account in
another browser window, thereby changing the expected user out from
underneath the script.

Bug: T146770
Change-Id: I94e0421cb263a418e86649f0d22ece4cfec6a395
RELEASE-NOTES-1.28
includes/api/ApiMain.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
tests/phpunit/includes/api/ApiMainTest.php