Hi Lydia! Thanks! Yes this is the Wikipedia Toolkit, though I think this is a problem on the server side and not in the Toolkit.
Cheers Miguel
On Wed, 10 May 2017 at 20:36 Lydia Pintscher lydia.pintscher@wikimedia.de wrote:
On Sat, May 6, 2017 at 6:57 AM, Miguel Paraz mparaz@gmail.com wrote:
Hi! I see that when I use the Java API to add a Statement with a Property pointing to an Item, but the Item has been merged:
org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorException: [modification-failed] [[Item:Q1040|Q1040]] not found at
org.wikidata.wdtk.wikibaseapi.apierrors.MediaWikiApiErrorHandler.throwMediaWikiApiErrorException(MediaWikiAp
iErrorHandler.java:62)
Is there a way to put in Items such that Wikibase would point them to the merge target? Or, do I need to use the API to find out the merge target so I could use that instead?
Thanks! Cheers Miguel
Hi Miguel,
You are using the Wikidata Toolkit? I am CC'ing Markus to see if he can answer your question.
Cheers Lydia
-- Lydia Pintscher - http://about.me/lydia.pintscher Product Manager for Wikidata
Wikimedia Deutschland e.V. Tempelhofer Ufer 23-24 10963 Berlin www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech