jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Alex Monk: Looks good to me, approved
  Umherirrender: Looks good to me, but someone else must approve
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I6bb7272b5a3df5fe9ccd3cf78a24769ca38a3f20
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Echo
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Kaldari <[email protected]>
Gerrit-Reviewer: Lwelling <[email protected]>
Gerrit-Reviewer: Umherirrender <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to