Addshore has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/120219

Change subject: Fix ApiSandbox continue param default
......................................................................

Fix ApiSandbox continue param default

This is how the continue param is defined for things
in core. This stops the ApiSandbox extension from
giving continue a default of 10.

Bug: 62959
Change-Id: I8eca2a90a9628ee835156fb767fda11019d42af8
---
M repo/includes/api/SearchEntities.php
1 file changed, 1 insertion(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/19/120219/1

diff --git a/repo/includes/api/SearchEntities.php 
b/repo/includes/api/SearchEntities.php
index ee7e7bf..69c9967 100644
--- a/repo/includes/api/SearchEntities.php
+++ b/repo/includes/api/SearchEntities.php
@@ -347,14 +347,7 @@
                                ApiBase::PARAM_MIN => 0,
                                ApiBase::PARAM_RANGE_ENFORCE => true,
                        ),
-                       'continue' => array(
-                               ApiBase::PARAM_TYPE => 'limit',
-                               ApiBase::PARAM_DFLT => 0,
-                               ApiBase::PARAM_MAX => ApiBase::LIMIT_SML1,
-                               ApiBase::PARAM_MAX2 => ApiBase::LIMIT_SML2,
-                               ApiBase::PARAM_MIN => 0,
-                               ApiBase::PARAM_RANGE_ENFORCE => true,
-                       ),
+                       'continue' => null,
                );
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/120219
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8eca2a90a9628ee835156fb767fda11019d42af8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to