Merge "AJAXify watchlist editor"
authorCatrope <roan.kattouw@gmail.com>
Wed, 1 Aug 2012 00:24:46 +0000 (00:24 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 1 Aug 2012 00:24:46 +0000 (00:24 +0000)
1  2 
includes/api/ApiWatch.php
includes/specials/SpecialEditWatchlist.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc
resources/Resources.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
 +                      ),
                );
        }
  
Simple merge
Simple merge
Simple merge
Simple merge