From: Krinkle Date: Wed, 1 Aug 2012 03:19:28 +0000 (+0000) Subject: Merge "Revert "AJAXify watchlist editor"" X-Git-Tag: 1.31.0-rc.0~22895 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=e676c6953fad3c9b29f50216f1b082a13738bf20;p=lhc%2Fweb%2Fwiklou.git Merge "Revert "AJAXify watchlist editor"" --- e676c6953fad3c9b29f50216f1b082a13738bf20 diff --cc includes/api/ApiWatch.php index f307f9aed0,c923c6d4bb..0509f1f8f4 --- a/includes/api/ApiWatch.php +++ b/includes/api/ApiWatch.php @@@ -98,16 -85,10 +85,13 @@@ class ApiWatch extends ApiBase return array( 'title' => array( ApiBase::PARAM_TYPE => 'string', - ), - 'titles' => array( - ApiBase::PARAM_TYPE => 'string', - ApiBase::PARAM_ISMULTI => true + ApiBase::PARAM_REQUIRED => true ), 'unwatch' => false, - 'token' => null, + 'token' => array( + ApiBase::PARAM_TYPE => 'string', + ApiBase::PARAM_REQUIRED => true + ), ); }