| Lokal_Profil created this task. Lokal_Profil added projects: Pywikibot-core, Pywikibot-network. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
A rate limit is imposed on anyone but sysops and bureaucrats when using the purge function. The default value is max 30 pages per 60 seconds.
Right now there is nothing in Site.purgepages() which prevents it from sending too many requests nor is there anything in either it data/api.py or comms/http.py which can handle the api response other than raising it as a warning.
"WARNING: API warning (purge): You've exceeded your rate limit. Please wait some time and try again"
TASK DETAIL
EMAIL PREFERENCES
To: Lokal_Profil
Cc: Aklapper, Lokal_Profil, pywikibot-bugs-list, Magul, MayS, Mdupont, JJMC89, jayvdb, Dalba, Masti, Alchimista, Rxy
Cc: Aklapper, Lokal_Profil, pywikibot-bugs-list, Magul, MayS, Mdupont, JJMC89, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
