I've implemented a fix for rewrite in r11680 and trunk in r11681. -- Legoktm
On Mon, Jun 17, 2013 at 10:34 AM, Maarten Dammers <[email protected]>wrote: > FYI > > > -------- Origineel bericht -------- Onderwerp: [Wikidata-tech] imminent > breaking change to the API Datum: Sun, 16 Jun 2013 13:43:05 +0200 Van: > Daniel > Kinzler <[email protected]> <[email protected]> > Antwoord-naar: > Wikidata technical discussion > <[email protected]><[email protected]> > Organisatie: > Wikimedia Deutschland e.V. Aan: wikidata-tech > <[email protected]> <[email protected]>, > Lydia Pintscher <[email protected]><[email protected]> > > > A quick heads up: > > We have a breaking change for the API in the > pipeline:<https://gerrit.wikimedia.org/r/#/c/68406/12> > <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 > [email protected]https://lists.wikimedia.org/mailman/listinfo/wikidata-tech > > > > > _______________________________________________ > Pywikipedia-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l > >
_______________________________________________ Pywikipedia-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
