Page MenuHomePhabricator

newitem.py should autoclaim some items
Open, Needs TriagePublic

Description

pwb.py newitem -pagegenerator -namespace:14
now only create new items, but without statements.
And because of -namespace:14 all these items should be claimed P31=Q4167836 but this must be done by another script.

Ideally in such cases (namespace 4,10,12,14) script should autoclaim.
second possibility is to add some parameter for claiming (should be useful for namespace:0 too)

pwb.py newitem -pagegenerator -namespace:14 -claim P31 Q4167836

Event Timeline

JAnD created this task.Sep 5 2017, 6:25 AM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptSep 5 2017, 6:25 AM

What about adding creating items to claimit.py (like T174752 or T170991)?