Last modified: 2013-12-31 15:20:54 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59291, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57291 - fullVersionHistory only retrieves 50, or doesn't retrieve text
fullVersionHistory only retrieves 50, or doesn't retrieve text
Status: RESOLVED WORKSFORME
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized major
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-20 09:44 UTC by Josh Parris
Modified: 2013-12-31 15:20 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Josh Parris 2013-11-20 09:44:22 UTC
# This should output the same number over and over again.  It should not output 50.

import pywikibot
site = pywikibot.getSite()
page = pywikibot.Page(site, u"Lily Serna")
print len(page.fullVersionHistory(reverseOrder=True))
print len(page.fullVersionHistory(reverseOrder=True,total=10000))
print len(page.fullVersionHistory(reverseOrder=True))
print len(page.getVersionHistory(reverseOrder=True))
print len(page.fullVersionHistory(reverseOrder=True))

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links