Make API multivalue limits configurable
authorGergő Tisza <gtisza@wikimedia.org>
Fri, 28 Jul 2017 17:41:13 +0000 (17:41 +0000)
committerGergő Tisza <gtisza@wikimedia.org>
Thu, 24 Aug 2017 02:08:50 +0000 (02:08 +0000)
commit5e7640338736c63faf5178b8f4d11b29a47da304
treee59b4c497a5c4cceb876595809a4113fbe4b535f
parent4fc47351d7b99482213ec0d07600d05517d67445
Make API multivalue limits configurable

Adds two new parameter settings, ApiBase::PARAM_ISMULTI_LIMIT1
and PARAM_ISMULTI_LIMIT2 for configuring the maximum number of values
that can be contained in a multivalue field (for unprivileged and
apihighlimits users, respectively). When present, these replace the
default 50/500.

Change-Id: Ic1b1bcc7ff556b7762c8d2375d910cc4fcb43087
includes/api/ApiBase.php
includes/api/ApiHelp.php
includes/api/ApiParamInfo.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json
tests/phpunit/structure/ApiDocumentationTest.php [deleted file]
tests/phpunit/structure/ApiStructureTest.php [new file with mode: 0644]