http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10476
Revision: 10476 Author: xqt Date: 2012-08-09 16:52:57 +0000 (Thu, 09 Aug 2012) Log Message: ----------- bugfix for query-continue param introduced with mw 1.20wmf8 (bug #3555402)
Modified Paths: -------------- trunk/pywikipedia/redirect.py
Modified: trunk/pywikipedia/redirect.py =================================================================== --- trunk/pywikipedia/redirect.py 2012-08-09 16:51:37 UTC (rev 10475) +++ trunk/pywikipedia/redirect.py 2012-08-09 16:52:57 UTC (rev 10476) @@ -190,7 +190,7 @@ if done: break yield x['pageid'] if not done and 'query-continue' in data: - params['apfrom'] = data['query-continue']['allpages']['apfrom'] + params.update(data['query-continue']['allpages']) else: break
pywikipedia-svn@lists.wikimedia.org