I'm with my framabot user-config. I can save change on website, but I can't edit Utilisateur:Framabot/categories.js (move later) with pywikibot, and other pages works :
>>> import pywikibot >>> d = pywikibot.Page(pywikibot.Site('fr', 'wikipedia'), "Utilisateur:Framabot/categories.js") >>> d.text = '' >>> d.save() Sleeping for 7.3 seconds, 2016-11-20 19:53:58 WARNING: API error unknownerror: Unknown error: "mycustomjsprotected" Traceback (most recent call last): File "<stdin>", line 1, in <module> File "pywikibot\tools\__init__.py", line 1447, in wrapper return obj(*__args, **__kw) File "pywikibot\page.py", line 1209, in save cc=apply_cosmetic_changes, quiet=quiet, **kwargs) File "pywikibot\page.py", line 1235, in _save raise pywikibot.OtherPageSaveError(self, err) pywikibot.exceptions.OtherPageSaveError: Edit to page [[Utilisateur:Framabot/categories.js]] failed: unknownerror: Unknown error: "mycustomjsprotected" [help:See https://fr.wikipedia.org/w/api.php for API usage]