Mpaa added a subscriber: Mpaa. Mpaa added a comment.
Does it make any difference if you do once single login() (maybe this is what you meant with shared site?):
site = pywikibot.Site() site.login()
and then repeatedly call
def reset_sandbox() sandboxPage = pywikibot.Page(site, sandboxTitle) sandboxPage.get(force=True, get_redirect=True) sandboxPage.text = sandboxDefault sandboxPage.save(comment=comment, botflag=botflag, minor=False)
TASK DETAIL https://phabricator.wikimedia.org/T89702
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Mpaa Cc: Mpaa, XZise, Aklapper, Sitic, jayvdb, pywikipedia-bugs