follow up r62353 Make ApiBase::requireOnlyOneParameter() accept parameters that are...
authorMark A. Hershberger <mah@users.mediawiki.org>
Mon, 15 Feb 2010 07:06:49 +0000 (07:06 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Mon, 15 Feb 2010 07:06:49 +0000 (07:06 +0000)
commit26a4587d803632994f915700191067da8219cc99
tree43805ad9d02dafd55febb12be5f173b0e0357dd8
parentb9f1fef0c2f6116db6b252dcc6f274bd7d8cb22b
follow up r62353 Make ApiBase::requireOnlyOneParameter() accept parameters that are set, but false.  This means that you can pass in more than one parameter, as long as it is the same as the default (false).  Have to do it this way since we'd like to default boolean parameters to false in getAllowedParams() but by the time requireOnlyOneParameter() is called, the defaults are set, so we can't tell the difference between passing in a parameter set to the default and just getting the defaults.
includes/api/ApiBase.php