diff --git a/mw/api/collections/revisions.py b/mw/api/collections/revisions.py index e2ab779..4d0c67e 100644 --- a/mw/api/collections/revisions.py +++ b/mw/api/collections/revisions.py @@ -153,7 +153,8 @@ def _query(self, revids=None, titles=None, pageids=None, properties=None, params = { 'action': "query", - 'prop': "revisions" + 'prop': "revisions", + 'rawcontinue': '' } params['revids'] = self._items(revids, type=int) @@ -179,7 +180,7 @@ def _query(self, revids=None, titles=None, pageids=None, properties=None, params['rvparse'] = none_or(parse, bool) params['rvsection'] = none_or(section, int) params['rvtoken'] = none_or(token, str) - params['rvcontinue'] = none_or(rvcontinue, int) + params['rvcontinue'] = none_or(rvcontinue, str) params['rvdiffto'] = self._check_diffto(diffto) params['rvdifftotext'] = none_or(difftotext, str) params['rvcontentformat'] = none_or(contentformat, str)