Hi all!
We have some breaking API changes that will soon be deployed to wikidata.org.
The deployment date should be: 9th September 2015 (just under 2 weeks)
The change making the breaks an be found at:
https://gerrit.wikimedia.org/r/#/c/227686/
The breaking changes are:
- XML output aliases are now grouped by language - XML output may no longer give elements when they are empty - XML any claim, qualifier, reference or snak elements that had an '_idx' element will no longer have it - ALL output may now give empty elements, ie. labels when an entity has none
If you want to see a wikipage explaining these changes take a look at:
https://www.wikidata.org/wiki/User:Addshore/API_Break_September_2015
If you have any questions regarding these breaking changes please ask!
Addshore
The merged changeset included changes which were not advertised, causing pywikibot to break. See T110559
The wbgetentities JSON 'entities' is now an array/list of entities instead of a mapping/dictionary of 'Qd' => entity.
On Fri, Aug 28, 2015 at 12:33 AM, Addshore addshorewiki@gmail.com wrote:
Hi all!
We have some breaking API changes that will soon be deployed to wikidata.org.
The deployment date should be: 9th September 2015 (just under 2 weeks)
The change making the breaks an be found at:
https://gerrit.wikimedia.org/r/#/c/227686/
The breaking changes are:
- XML output aliases are now grouped by language
- XML output may no longer give elements when they are empty
- XML any claim, qualifier, reference or snak elements that had an
'_idx' element will no longer have it
- ALL output may now give empty elements, ie. labels when an entity has none
If you want to see a wikipage explaining these changes take a look at:
https://www.wikidata.org/wiki/User:Addshore/API_Break_September_2015
If you have any questions regarding these breaking changes please ask!
Addshore _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Wed, Sep 9, 2015 at 8:04 AM, John Mark Vandenberg jayvdb@gmail.com wrote:
The merged changeset included changes which were not advertised, causing pywikibot to break. See T110559
The wbgetentities JSON 'entities' is now an array/list of entities instead of a mapping/dictionary of 'Qd' => entity.
We're looking into it now.
Cheers Lydia
Hm, works for me:
{"entities":{"Q42":{"pageid":138,"ns":0,"title":"Q42"
On Wed, Sep 9, 2015 at 8:24 AM Lydia Pintscher lydia.pintscher@wikimedia.de wrote:
On Wed, Sep 9, 2015 at 8:04 AM, John Mark Vandenberg jayvdb@gmail.com wrote:
The merged changeset included changes which were not advertised, causing pywikibot to break. See T110559
The wbgetentities JSON 'entities' is now an array/list of entities instead of a mapping/dictionary of 'Qd' => entity.
We're looking into it now.
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/681/51985.
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Magnus is that on the live site? If so the breaking change is not being deployed until this evening! :) I believe this was probably spotted on either test or beta!
On 9 September 2015 at 10:14, Magnus Manske magnusmanske@googlemail.com wrote:
Hm, works for me:
{"entities":{"Q42":{"pageid":138,"ns":0,"title":"Q42"
On Wed, Sep 9, 2015 at 8:24 AM Lydia Pintscher < lydia.pintscher@wikimedia.de> wrote:
On Wed, Sep 9, 2015 at 8:04 AM, John Mark Vandenberg jayvdb@gmail.com wrote:
The merged changeset included changes which were not advertised, causing pywikibot to break. See T110559
The wbgetentities JSON 'entities' is now an array/list of entities instead of a mapping/dictionary of 'Qd' => entity.
We're looking into it now.
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/681/51985.
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Related change fixing this issue: https://gerrit.wikimedia.org/r/237048
This will be fixed for the deployment this evening! Sorry this slipped through the net!
On 9 September 2015 at 09:23, Lydia Pintscher lydia.pintscher@wikimedia.de wrote:
On Wed, Sep 9, 2015 at 8:04 AM, John Mark Vandenberg jayvdb@gmail.com wrote:
The merged changeset included changes which were not advertised, causing pywikibot to break. See T110559
The wbgetentities JSON 'entities' is now an array/list of entities instead of a mapping/dictionary of 'Qd' => entity.
We're looking into it now.
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/681/51985.
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
On 09.09.2015 10:16, Addshore wrote:
Related change fixing this issue: https://gerrit.wikimedia.org/r/237048
This will be fixed for the deployment this evening! Sorry this slipped through the net!
Thanks for the warning. This change would break Wikidata Toolkit as well (but as I understand, it only got deployed to test.wikidata.org, not to www.wikidata.org).
Markus
On 9 September 2015 at 09:23, Lydia Pintscher <lydia.pintscher@wikimedia.de mailto:lydia.pintscher@wikimedia.de> wrote:
On Wed, Sep 9, 2015 at 8:04 AM, John Mark Vandenberg <jayvdb@gmail.com <mailto:jayvdb@gmail.com>> wrote: > The merged changeset included changes which were not advertised, > causing pywikibot to break. See T110559 > > The wbgetentities JSON 'entities' is now an array/list of entities > instead of a mapping/dictionary of 'Qd' => entity. We're looking into it now. 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 <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 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985 <tel:27%2F681%2F51985>. _______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org <mailto:Wikidata-tech@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
-- Addshore
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
On Wed, Sep 9, 2015 at 11:19 AM, Markus Krötzsch < markus@semantic-mediawiki.org> wrote:
On 09.09.2015 10:16, Addshore wrote:
Related change fixing this issue: https://gerrit.wikimedia.org/r/237048
This will be fixed for the deployment this evening! Sorry this slipped through the net!
Thanks for the warning. This change would break Wikidata Toolkit as well (but as I understand, it only got deployed to test.wikidata.org, not to www.wikidata.org).
Assuming the fix is good, I'll deploy the fix sometime in the next ~hour to test.wikidata.org.
(and yes, the bug didn't get deployed to wikidata)
Cheers, Katie
Markus
On 9 September 2015 at 09:23, Lydia Pintscher <lydia.pintscher@wikimedia.de mailto:lydia.pintscher@wikimedia.de> wrote:
On Wed, Sep 9, 2015 at 8:04 AM, John Mark Vandenberg <jayvdb@gmail.com <mailto:jayvdb@gmail.com>> wrote: > The merged changeset included changes which were not advertised, > causing pywikibot to break. See T110559 > > The wbgetentities JSON 'entities' is now an array/list of entities > instead of a mapping/dictionary of 'Qd' => entity. We're looking into it now. 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 <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 Nz. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985 <tel:27%2F681%2F51985>. _______________________________________________ Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org <mailto:Wikidata-tech@lists.wikimedia.org> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
-- Addshore
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
On Wed, Sep 9, 2015 at 7:26 PM, Katie Filbert katie.filbert@wikimedia.de wrote:
Assuming the fix is good, I'll deploy the fix sometime in the next ~hour to test.wikidata.org.
Has there been some delay deploying this to the test wikis? The beta and test wikis are still unusable for testing...
https://test.wikidata.org/w/api.php?action=wbgetentities&ids=Q943 http://wikidata.beta.wmflabs.org/w/api.php?action=wbgetentities&ids=Q226...
-- John Vandenberg
On Wed, Sep 9, 2015 at 3:00 PM, John Mark Vandenberg jayvdb@gmail.com wrote:
On Wed, Sep 9, 2015 at 7:26 PM, Katie Filbert katie.filbert@wikimedia.de wrote:
Assuming the fix is good, I'll deploy the fix sometime in the next ~hour
to
test.wikidata.org.
Has there been some delay deploying this to the test wikis? The beta and test wikis are still unusable for testing...
https://test.wikidata.org/w/api.php?action=wbgetentities&ids=Q943 http://wikidata.beta.wmflabs.org/w/api.php?action=wbgetentities&ids=Q226...
Yes, there is some delay...
We are now deploying the fix at SWAT deploy window (in 45 minutes from now).
I can also make a new build now for beta that has the fix.
Cheers, Katie
-- John Vandenberg
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
On Wed, Sep 9, 2015 at 4:16 PM, Katie Filbert katie.filbert@wikimedia.de wrote:
On Wed, Sep 9, 2015 at 3:00 PM, John Mark Vandenberg jayvdb@gmail.com wrote:
On Wed, Sep 9, 2015 at 7:26 PM, Katie Filbert katie.filbert@wikimedia.de wrote:
Assuming the fix is good, I'll deploy the fix sometime in the next
~hour to
test.wikidata.org.
Has there been some delay deploying this to the test wikis? The beta and test wikis are still unusable for testing...
https://test.wikidata.org/w/api.php?action=wbgetentities&ids=Q943 http://wikidata.beta.wmflabs.org/w/api.php?action=wbgetentities&ids=Q226...
Yes, there is some delay...
We are now deploying the fix at SWAT deploy window (in 45 minutes from now).
I can also make a new build now for beta that has the fix.
Fix is now deployed on test.wikidata and beta wikidata.
Cheers, Katie
Cheers, Katie
-- John Vandenberg
Wikidata-tech mailing list Wikidata-tech@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
-- Katie Filbert Wikidata Developer
Wikimedia Germany e.V. | Tempelhofer Ufer 23-24, 10963 Berlin Phone (030) 219 158 26-0
Wikimedia Germany - Society for the Promotion of free knowledge eV Entered in the register of Amtsgericht Berlin-Charlottenburg under the number 23 855 as recognized as charitable by the Inland Revenue for corporations I Berlin, tax number 27/681/51985.
wikidata-tech@lists.wikimedia.org