jenkins-bot has submitted this change and it was merged.
Change subject: WikidataBot as subclass of Bot ......................................................................
WikidataBot as subclass of Bot
to take advantage of new methods such as quit(), etc.
The 'always' option is not used by Wikidata bots currently, but has been retained for future usage.
Change-Id: Icecd762cd44092129106800ac93e772dde3913ef --- M pywikibot/bot.py 1 file changed, 1 insertion(+), 3 deletions(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/pywikibot/bot.py b/pywikibot/bot.py index d0a20f9..e42b71c 100644 --- a/pywikibot/bot.py +++ b/pywikibot/bot.py @@ -914,12 +914,10 @@ self.__class__.__name__)
-class WikidataBot: +class WikidataBot(Bot):
""" Generic Wikidata Bot to be subclassed. - - Used in claimit.py, coordinate_import.py and harvest_template.py """
def cacheSources(self):
pywikibot-commits@lists.wikimedia.org