I've already announced this change on
http://www.wikidata.org/wiki/Wikidata_talk:Bots#Upcoming_changes_to_wbedite…
No comments so far.
cheers, tobi
On Sun, Jun 16, 2013 at 1:43 PM, Daniel Kinzler <daniel.kinzler(a)wikimedia.de
wrote:
A quick heads up:
We have a breaking change for the API in the pipeline:
<https://gerrit.wikimedia.org/r/#/c/68406/12>. This has not been merged
yet, but
I expect this to go into the next branch (to be deployed on June 24, if
I'm not
mistaking).
It's really a fix for previously underspecified and dangerous behavior:
the editentity module would automatically create a new item when called
without
giving an ID of the entity to modify.
With the patch, editentity now requires that either the 'id' parameter or
the
'new' parameter be set, explicitly stating which entity to modify resp.
what
kind of entity to create.
That is, bots that wish to create an item now need to provide the new=item
parameter, instead of just not supplying an id parameter. This affects all
bots
that create items.
We could keep the old behavior as a B/C mode, but it's dangerous and ill
defined; I think it's better to break some bots now, it's easy to fix
anyway.
But it should of course be announced in due time.
-- daniel
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
--
Tobi Gritschacher
Software Developer - Wikidata -
http://www.wikidata.org
Imagine a world, in which every single human being can freely
share in the sum of all knowledge. That‘s our commitment.
Wikimedia Deutschland e.V. | Obentrautstraße 72 | 10963 Berlin
Phone +49 (0)30 219 158 260
http://wikimedia.de <http://www.wikimedia.de/>
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.