[Bug 54415] claimit.py: enable claim with the same property, but different value

2014-02-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

--- Comment #6 from Merlijn van Deen valhall...@arctus.nl ---
*** Bug 54542 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-12-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

xqt i...@gno.de changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |RESOLVED
 CC||i...@gno.de
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-11-28 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

--- Comment #5 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 97198 merged by jenkins-bot:
Enable claims with the same property, but different value for claimit.py

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-11-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

--- Comment #4 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 92073 abandoned by Merlijn van Deen:
Enable adding statements on items with the same property, but different values.

Reason:
One of the GCI students has worked on this:
https://gerrit.wikimedia.org/r/#/c/97198/

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-11-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

--- Comment #3 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 97198 had a related patch set uploaded by Tholam:
Enable claims with the same property, but different value for claimit.py

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-11-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

Strainu crangasi2...@yahoo.com changed:

   What|Removed |Added

 CC||crangasi2...@yahoo.com
 Whiteboard||gci2013
   ||https://www.mediawiki.org/w
   ||iki/Google_Code-In#Candidat
   ||e_tasks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-10-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

--- Comment #2 from Gerrit Notification Bot gerritad...@wikimedia.org ---
Change 92073 had a related patch set uploaded by Merlijn van Deen:
Enable adding statements on items with the same property, but different values.

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-10-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

Gerrit Notification Bot gerritad...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-10-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

Merlijn van Deen valhall...@arctus.nl changed:

   What|Removed |Added

   Priority|Unprioritized   |Low

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-10-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

Nemo federicol...@tiscali.it changed:

   What|Removed |Added

  Component|General |Wikidata

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54415] claimit.py: enable claim with the same property, but different value

2013-09-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipe...@gmail.com ---
slightly improved version, merged with the new source function



:::python

for claim in self.claims:
if claim.getID() in item.get().get('claims'):
for existingclaimwithproperty in item.claims[claim]:
if existingclaimwithproperty.getTarget() ==
claim.getTarget():
pywikibot.output(item for %s has already property
%s with value %s % (page.title(), claim,
existingclaimwithproperty.getTarget()))
break
else:
continue
else:
pywikibot.output('Adding additional %s -- %s' %
(claim.getID(), claim.getTarget()))
item.addClaim(claim)
source = self.getSource(page.site.language())
if self.source:
claim.addSource(self.source, bot=True)
# TODO FIXME: We need to check that we aren't
adding a
# duplicate source

else:
pywikibot.output('Adding %s -- %s'
 % (claim.getID(), claim.getTarget()))
item.addClaim(claim)
source = self.getSource(page.site.language())
if self.source:
claim.addSource(self.source, bot=True)
# TODO FIXME: We need to check that we aren't adding a
# duplicate source

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l