Last modified: 2014-10-29 06:24:25 UTC
When a version history is already loaded, decreasing the total parameter does not care. It already returns the old amount of values. >>> import pwb >>> import pywikibot as py >>> s = py.Site() >>> p = py.Page(s, 'user:xqt/Test') >>> x = p.getVersionHistory(total=5) >>> len(x) 5 >>> x = p.getVersionHistory(total=2) >>> >>> len(x) 5 >>> The same for getVersionHistoryTable and fullVersionHistory method
Change 168503 had a related patch set uploaded by Mpaa: Bug 64188 - getVersionHistory does not follow total parameter https://gerrit.wikimedia.org/r/168503
Change 168503 merged by jenkins-bot: Bug 64188 - getVersionHistory does not follow total parameter https://gerrit.wikimedia.org/r/168503
Merged