API: Raise an error when too many values are passed
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 18 May 2018 15:22:44 +0000 (17:22 +0200)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 21 May 2018 22:46:43 +0000 (18:46 -0400)
commita1cec329538fe787e9bad01a250ff57fee9144f6
treec3367c35323cb37db85fa7a56171aa559c0852f4
parent0499939a64c486b96d76d131fa71a3faa1596222
API: Raise an error when too many values are passed

Since 2008 the API has truncated with a warning when too many values are
passed to a multi-valued parameter. It's long past time to make this an
error.

Bug: T41936
Change-Id: I0f9efbdf9230373fa0c175a7fcacbca68225cf40
RELEASE-NOTES-1.32
includes/api/ApiBase.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
tests/phpunit/includes/api/ApiBaseTest.php