[Pywikipedia-l] versionHistories

2014-04-04 Thread Bináris
print len(page.getVersionHistory(getAll=True, reverseOrder=True)) print len(page.fullVersionHistory(getAll=True, reverseOrder=True)) 3838 258 Where did I make a mistake? Framework is of 1 January, did something change since then concerning fullVersionHistory? -- Bináris

Re: [Pywikipedia-l] versionHistories

2014-04-04 Thread Bináris
The so called compat version. hu:user talk:Bináris 2014-04-05 1:03 GMT+02:00 Mpaa mpaa.w...@gmail.com: Some more info to check. Core or Compat? Which Site/Page? Mpaa On Fri, Apr 4, 2014 at 11:26 PM, Bináris wikipo...@gmail.com wrote: print len(page.getVersionHistory(getAll=True,

Re: [Pywikipedia-l] versionHistories

2014-04-04 Thread Bináris
I tried an other approach: I loop with getVersionHistory() which gives me oldid, date and size which I need, and call getOldVersion() for each oldid. The sad experience is that the script becomes extremely slow. As the page under investigation is usually quite big (it's a long talk page) and the

Re: [Pywikipedia-l] versionHistories

2014-04-04 Thread Bináris
Some experiments, all under hu: in Wikipedia. A possible conclusion is that some API limit is broken at pages with long history while for short histories the results are identical. site = pywikibot.getSite() page = pywikibot.Page(site, what) print len(page.getVersionHistory(getAll=True,