jenkins-bot has submitted this change and it was merged.
Change subject: Add 'rawcontinue' for query action only
......................................................................
Add 'rawcontinue' for query action only
Bug: T101524
Change-Id: I8b5ed0f06949602326811f2f9568a58f2f3c384f
---
M query.py
1 file changed, 2 insertions(+), 1 deletion(-)
Approvals:
John Vandenberg: Looks good to me, approved
jenkins-bot: Verified
diff --git a/query.py b/query.py
index 69774c3..b6b5bf0 100644
--- a/query.py
+++ b/query.py
@@ -80,7 +80,8 @@
if 'format' not in params or params['format'] != u'json':
params['format'] = u'json'
- if not ('continue' in params or 'rawcontinue' in params):
+ if 'action' in params and params['action'] == 'query' and not (
+ 'continue' in params or 'rawcontinue' in params):
params['rawcontinue'] = ''
if not useAPI:
--
To view, visit https://gerrit.wikimedia.org/r/222254
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I8b5ed0f06949602326811f2f9568a58f2f3c384f
Gerrit-PatchSet: 3
Gerrit-Project: pywikibot/compat
Gerrit-Branch: master
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Ladsgroup <ladsgroup(a)gmail.com>
Gerrit-Reviewer: jenkins-bot <>