https://bugzilla.wikimedia.org/show_bug.cgi?id=55160
Mpaa <mpaa.w...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mpaa.w...@gmail.com --- Comment #10 from Mpaa <mpaa.w...@gmail.com> --- (In reply to comment #9) > Change 105619 had a related patch set uploaded by Mpaa: > (bug 55160) Page._getVersionHistory returns only a part of a history > > https://gerrit.wikimedia.org/r/105619 h = p.getVersionHistory(getAll=True) returns the full history. h = p.fullVersionHistory(getAll=True) returns 192 entries (now more ...). Reason is that result might not be 'revCount' long also when 'query-continue' is returned, due to: {u'result':{u'*': u'This result was truncated because it would otherwise be larger than the limit of 12582912 bytes'}} So it is not enough to check only that len() < revCount to declare that thisHistoryDone = True. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l