FANDOM


# -*- coding: utf-8 -*-
 
import wikipedia as pywikibot
import userlib
 
def main():
    pywikibot.handleArgs()
    site = pywikibot.getSite()
 
    usernames = ['5.213.0.0/16', ... ,'1.0.0.0/16']
 
    for us in usernames:
        try:
            user = userlib.User(site,us);
            user.unblock('Robot unblock')
        except userlib.BlockIDError:
            pass
 
if __name__ == "__main__":
    try: main()
    except KeyboardInterrupt:
        pywikibot.stopme()
        sys.exit(100)
    finally: pywikibot.stopme()

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.