FYI
-------- Origineel bericht --------
Onderwerp: [Wikidata-tech] imminent breaking change to the API Datum: Sun, 16 Jun 2013 13:43:05 +0200 Van: Daniel Kinzler <daniel.kinzler@wikimedia.de> Antwoord-naar: Wikidata technical discussion <wikidata-tech@lists.wikimedia.org> Organisatie: Wikimedia Deutschland e.V. Aan: wikidata-tech <wikidata-tech@lists.wikimedia.org>, Lydia Pintscher <Lydia.Pintscher@wikimedia.de>
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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l