From: Catrope Date: Wed, 1 Aug 2012 00:24:46 +0000 (+0000) Subject: Merge "AJAXify watchlist editor" X-Git-Tag: 1.31.0-rc.0~22899 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=125d6d5feceba4d3d740efb5be0be83058546a20;p=lhc%2Fweb%2Fwiklou.git Merge "AJAXify watchlist editor" --- 125d6d5feceba4d3d740efb5be0be83058546a20 diff --cc includes/api/ApiWatch.php index 0509f1f8f4,a897cfdf2e..f307f9aed0 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@@ -85,13 -98,13 +98,16 @@@ class ApiWatch extends ApiBase return array( 'title' => array( ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_REQUIRED => true + ), + 'titles' => array( + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_ISMULTI => true ), 'unwatch' => false, - 'token' => null, + 'token' => array( + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_REQUIRED => true + ), ); }