https://bugzilla.wikimedia.org/show_bug.cgi?id=55160
--- Comment #7 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Changing the condition still returns 4250 entries for me (have you missed the "not getAll and " part in my code?)
But if I use fullVersionHistory instead of getVersionHistory, it returns only 192 entries for me. I.e. try the following code:
import wikipedia as pywikibot p = pywikibot.Page('de', 'user talk:xqt') h = p.fullVersionHistory(getAll=True) print len(h)