(bug 64997) Bugfix - Note: self.limit could be -1
(bug 64997) Bugfix - Note: self.limit could be -1

Partly revert of https://gerrit.wikimedia.org/r/#/c/130019/
testing of bool(self.limit) is True when it is -1.
We have to check whether self.limit > 0

Change-Id: If25add4c3ba7892416195337d5a79993baf6d0d9
VcamX/pywikibot-core,jayvdb/pywikibot-core,hasteur/g13bot_tools_new,hasteur/g13bot_tools_new,happy5214/pywikibot-core,Darkdadaah/pywikibot-core,PersianWikipedia/pywikibot-core,xZise/pywikibot-core,magul/pywikibot-core,npdoty/pywikibot,npdoty/pywikibot,jayvdb/pywikibot-core,h4ck3rm1k3/pywikibot-core,emijrp/pywikibot-core,Darkdadaah/pywikibot-core,magul/pywikibot-core,darthbhyrava/pywikibot-local,h4ck3rm1k3/pywikibot-core,hasteur/g13bot_tools_new,valhallasw/pywikibot-core,smalyshev/pywikibot-core,TridevGuha/pywikibot-core,happy5214/pywikibot-core,wikimedia/pywikibot-core,trishnaguha/pywikibot-core,icyflame/batman,wikimedia/pywikibot-core