Last modified: 2012-12-13 11:19:00 UTC
The call should have two parameters, from and to (both with site and title) If from exists and to exists: * if item(from) = item(to) : do nothing else raise error If from exists and to not exists: * setsitelink(from,to) If from not exists and to exists: * setsitelink(to,from) If from not exists and to not exists: * id = createitem * setsitelink(id, from) * setsitelink(id, to)
First implementation in https://gerrit.wikimedia.org/r/#/c/16819/
Verified in Wikidata demo time for sprint 13