pwb.py newitem -file:aa.txt -lang:cs -touch
...
[[cs:Šablona:Anontools]] already has an item: [[wikidata:Q6023401]].
Doing a null edit on the page.
WARNING: API error protectedpage: The "editprotected" right is required to edit this page
ERROR: Page [[cs:Šablona:Anontools]] is locked.
Traceback (most recent call last):
File "I:\pwb\pywikibot\bot.py", line 1948, in run
self.treat(page, item)
File ".\scripts\newitem.py", line 71, in treat
page.put(page.text)
File "I:\pwb\pywikibot\tools\__init__.py", line 1447, in wrapper
return obj(*__args, **__kw)
File "I:\pwb\pywikibot\page.py", line 1292, in put
**kwargs)
File "I:\pwb\pywikibot\tools\__init__.py", line 1447, in wrapper
return obj(*__args, **__kw)
File "I:\pwb\pywikibot\page.py", line 1209, in save
cc=apply_cosmetic_changes, quiet=quiet, **kwargs)
File "I:\pwb\pywikibot\page.py", line 1234, in _save
raise err
LockedPage: Page [[cs:Ĺ ablona:Anontools]] is locked.