API: Ensure it checks *only* the fast limit or the slow limit, not both. On fast...
authorDaniel Cannon <amidaniel@users.mediawiki.org>
Fri, 5 Oct 2007 07:37:58 +0000 (07:37 +0000)
committerDaniel Cannon <amidaniel@users.mediawiki.org>
Fri, 5 Oct 2007 07:37:58 +0000 (07:37 +0000)
includes/api/ApiQueryRevisions.php

index e31f443..5b4e236 100644 (file)
@@ -278,8 +278,8 @@ class ApiQueryRevisions extends ApiQueryBase {
                        'limit' => array (
                                ApiBase :: PARAM_TYPE => 'limit',
                                ApiBase :: PARAM_MIN => 1,
-                               ApiBase :: PARAM_MAX => ApiBase :: LIMIT_SML1,
-                               ApiBase :: PARAM_MAX2 => ApiBase :: LIMIT_SML2
+                               ApiBase :: PARAM_MAX => ApiBase :: LIMIT_BIG1,
+                               ApiBase :: PARAM_MAX2 => ApiBase :: LIMIT_BIG2
                        ),
                        'startid' => array (
                                ApiBase :: PARAM_TYPE => 'integer'