(bug 43959) Add ability to reset certain option kinds in API.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Tue, 15 Jan 2013 01:45:01 +0000 (20:45 -0500)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Fri, 18 Jan 2013 18:41:44 +0000 (13:41 -0500)
commite521f0680e9abc812aff5faaeda121e6249bbf5f
tree13a0b0afc466dde6a4587f1d6a4dcfeb02be0abc
parent3b33154284762e615dfaf797ae6979f0c656ac89
(bug 43959) Add ability to reset certain option kinds in API.

Added the "resetkinds" option to action=options, so that when the
"reset" option is set, the user can control which kinds of options
are reset, rather than having to do all or none.

Also added documentation to the "change" parameter, since passing
it option keys without any "=value" after it will result in resetting
that specific option to its default value.

Change-Id: Id5bc1fffa0d487c0f152b79115205d2722f380d3
RELEASE-NOTES-1.21
includes/User.php
includes/api/ApiOptions.php
tests/phpunit/includes/api/ApiOptionsTest.php