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:
pywikibot-commits@lists.wikimedia.org