Fix type of list=tags&tgcontinue
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 17 Mar 2013 15:29:00 +0000 (16:29 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Sun, 17 Mar 2013 15:29:00 +0000 (16:29 +0100)
Was already interpretted as string before, but with a default of null,
this is easy to read and looks like all other 'continue' param

Change-Id: Ica972e927d4949bb0e8925f10471b9273c052011

includes/api/ApiQueryTags.php

index e0637ff..22480c6 100644 (file)
@@ -133,8 +133,7 @@ class ApiQueryTags extends ApiQueryBase {
 
        public function getAllowedParams() {
                return array(
-                       'continue' => array(
-                       ),
+                       'continue' => null,
                        'limit' => array(
                                ApiBase::PARAM_DFLT => 10,
                                ApiBase::PARAM_TYPE => 'limit',