Page MenuHomePhabricator

claimit.py should add another value but not duplicate
Closed, ResolvedPublic

Description

When some item have P12=Q1234, claimit.py does not change this value

when using -exists:ptq, script will add new value, but also can create duplicate statement with same value

https://www.wikidata.org/w/index.php?title=Q11723060&diff=141220723&oldid=87098576


See Also:
T72702: claimit and harvest_template - add another value for one property
T57002: claimit.py sample: add option to allow checking for identical statement (same property with same value)

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:35 AM
bzimport set Reference to bz67284.
bzimport added a subscriber: Unknown Object (????).

Change 176930 had a related patch set uploaded (by John Vandenberg):
Fix claimit -exists functionality

https://gerrit.wikimedia.org/r/176930

Patch-For-Review

Change 329050 had a related patch set (by Matěj Suchánek) published:
Rewrite claimit.py

https://gerrit.wikimedia.org/r/329050

Change 329050 merged by jenkins-bot:
[pywikibot/core@master] Rewrite claimit.py

https://gerrit.wikimedia.org/r/329050

matej_suchanek moved this task from Backlog to Needs Review on the Pywikibot board.
matej_suchanek subscribed.

My patch has been merged, now it should be tested that it no longer adds duplicate values.

Change 176930 abandoned by Matěj Suchánek:
[pywikibot/core@master] Fix claimit -exists functionality

Reason:
Things have changed

https://gerrit.wikimedia.org/r/176930