On Sat, May 6, 2017 at 6:57 AM, Miguel Paraz <[email protected]> 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 [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
