How about the XML format returned by
"api.php?action=query&prop=revisions&rvprop=content&format=xml"? What will
it change to?

For example:
The current return value of
http://www.wikidata.org/w/api.php?action=query&format=xml&titles=Q1&prop=revisions&rvprop=content
is:
<api>
  <query>
    <pages>
      <page pageid="129" ns="0" title="Q1">
        <revisions>
          <rev contentformat="application/json"
contentmodel="wikibase-item" xml:space="preserve">
            {"label":{"en":"universe","fr":"Univers", ......

Is it going to become:
<api>
  <query>
    <pages>
      <page pageid="129" ns="0" title="Q1">
        <revisions>
          <rev contentformat="application/json"
contentmodel="wikibase-item" xml:space="preserve">

{"labels":{"en":{"language":"en","value":"universe"},"fr":{"language":"fr","value":"Univers"},
......

Is there a way that I can try this BREAKING CHANGE before Aug 26? For
example, can I see the changed JSON format at test.wikidata.org before Aug
26?

Thanks,
Huidong

On Fri, Aug 15, 2014 at 11:04 AM, Lydia Pintscher <
[email protected]> wrote:

> Hey folks :)
>
> Are you a tool author relying on dumps or Special:Export or use Lua on
> Wikidata to access data in items? Please read on.
> The JSON format returned by the API and what we use to store the data
> internally has been different for a long time. This has been a
> headache as people had to deal with two different JSON serializations.
> We've fixed this now to only use one. This means the format you get in
> the XML dumps, via Special:Export and when accessing the raw item page
> content via Lua will change to be the same as what you get from the
> API. We plan to deploy this change on August 26th.
>
> This is one of the remaining blockers for statements on properties and
> further progress on Commons support.
>
> I'm sorry for the disruption. If you need help with adapting your
> tools please let me know.
>
>
> 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-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata-l
>
_______________________________________________
Wikidata-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-l

Reply via email to