Wikimedia

Pywikibot: Remove superfluous sleep between archiving each page

There is a sleep in the code (see https://phabricator.wikimedia.org/T104046 ) which appears to be of little use because

  • There is no need to wait for user action, because the script is normally run periodically, not interactively.
  • There is no need to limit API requests, because requests are sequentially emitted in this script.

Pywikibot is a Python-based framework to write bots for MediaWiki. See https://www.mediawiki.org/wiki/Manual:Pywikibot for more information. Patches can be submitted via Gerrit (you need a MediaWiki.org account). More documentation on Gerrit can be found at https://www.mediawiki.org/wiki/Manual:Pywikibot/Gerrit. After you have successfully claimed this task in Google Code-In please do use the task in Phabricator for communication. This allows more PWB developers to be reached! General development questions can be asked on the Pywikibot mailing list at https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l and the #pywikibot IRC channel (see https://www.mediawiki.org/wiki/MediaWiki_on_IRC ).

Task tags

  • python
  • pywikibot

Students who completed this task

murfel

Task type

  • code Code
close

2015