https://bugzilla.wikimedia.org/show_bug.cgi?id=72667
--- Comment #2 from Malafaya malafaya@clix.pt --- This warning is what is causing the exception:
print data['warnings']
=>
{u'query': {u'*': u"Formatting of continuation data will be changing soon. To co ntinue using the current formatting, use the 'rawcontinue' parameter. To begin u sing the new format, pass an empty string for 'continue' in the initial query."} }