API: Don't return a deprecation warning for default values
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 7 Feb 2019 20:32:36 +0000 (15:32 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 7 Feb 2019 20:32:36 +0000 (15:32 -0500)
commit94110916b1a041370831f6f7d31d51db55508276
treec33cafe62353795d27820c9f57435b338d7dac3b
parentb6ee3e52534e0c76598383318a97a0c385dd3236
API: Don't return a deprecation warning for default values

If a deprecated parameter has a default value, or a deprecated value is
part of the default value for a parameter, don't give the client a
deprecation warning about it.

Bug: T215548
Change-Id: I980763e3d44fb1b7459c64b175fcaddf5fd44a13
includes/api/ApiBase.php
tests/phpunit/includes/api/ApiBaseTest.php