Bsitu has uploaded a new change for review.

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


Change subject: (bug 48011) notlimit parameter does not accept "max" as a value
......................................................................

(bug 48011) notlimit parameter does not accept "max" as a value

Change-Id: I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20
---
M api/ApiEchoNotifications.php
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Echo 
refs/changes/03/62003/1

diff --git a/api/ApiEchoNotifications.php b/api/ApiEchoNotifications.php
index 45a2c91..10f932b 100644
--- a/api/ApiEchoNotifications.php
+++ b/api/ApiEchoNotifications.php
@@ -175,10 +175,11 @@
                                ),
                        ),
                        'limit' => array(
-                               ApiBase::PARAM_TYPE => 'integer',
+                               ApiBase::PARAM_TYPE => 'limit',
                                ApiBase::PARAM_DFLT => 20,
-                               ApiBase::PARAM_MAX => 50,
                                ApiBase::PARAM_MIN => 1,
+                               ApiBase::PARAM_MAX => ApiBase::LIMIT_SML1,
+                               ApiBase::PARAM_MAX2 => ApiBase::LIMIT_SML2,
                        ),
                        'index' => false,
                        'offset' => array(

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>

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

Reply via email to