python pwb.py -nolog -user:Bináris userpageprotect.py python pwb.py -nolog -user:"Bináris" userpageprotect.py
Neither asks for my password when the script wants to protect a page. (The script is own development.) Instead I get: pywikibot.exceptions.UserRightsError: User "None" does not have required user right "protect" CRITICAL: Exiting due to uncaught exception <class 'pywikibot.exceptions.UserRightsError'> Do I do soemthing wrong? I liked the compat solution with my sysop user in user-config much better. :-( -- Bináris
_______________________________________________ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org