Please Add this feature. Only add a property if another property of claim exists.
Version: core-(2.0)
Severity: enhancement
Please Add this feature. Only add a property if another property of claim exists.
Version: core-(2.0)
Severity: enhancement
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Add ItemClaimFilterPageGenerator | pywikibot/core | master | +254 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Xqt | T57005 Create pagegenerators for Wikidata (items from file, items using a given property, items linking to items, etc) | |||
| Resolved | m4tx | T69568 claimit.py conditionals:only add p:foo if p:bar exists |
claimit.py -pagegenerators P21 Q6581097 -onlyif:P31=Q5
bot should not add gender to items which are not instance of homo sapiens
I've proposed this as a GCI coding task: https://www.google-melange.com/gci/task/edit/google/gci2014/5871393535164416 , tentatively naming the new filter "ItemClaimFilterPageGenerator".
T73713 is a very similar problem - there, the script should skip the page/item if it meets certain conditions.
Change 179158 had a related patch set uploaded (by M4tx):
Add ItemClaimFilterPageGenerator