Thanks for you reply Yuri. comments inline.

On Mon, Mar 4, 2013 at 9:09 PM, Yuri Astrakhan <[email protected]>wrote:

> Jiang,
>
> * Wikidata API has not been finalized, and will be rewritten (with some
> time overlap to allow for migration). See the proposed Wikidata API
> roadmap <https://www.mediawiki.org/wiki/Requests_for_comment/Wikidata_API>,
> and feel free to make suggestions
>
by "make suggestions" you mean I can click "edit" of a section and  type in
any text directly? or there is some dedicated page/forum/maillist to input?
(sorry for my ignorance, I'm quite new to MediaWiki developing)

> now before implementation begins. Hence - there isn't that much in terms
> of documentation yet.
>
> * The wikidata extension currently does not extend the action=query, but
> instead adds its own. Making Wikidata API integrated into the action=query
> is my prime intention as part of that roadmap. In the future you will be
> able to do generator=recentchanges&props=wblanglinks to get the list of
> langlinks from all the recently changed items in one API call.
>
> * At this point all queries like 
> list=recentchanges<http://www.wikidata.org/w/api.php?action=query&list=recentchanges&rcnamespace=0&rcprop=comment&rclimit=max&rcnamespace=0>
>  and
> prop=revisions<http://www.wikidata.org/w/api.php?action=query&titles=Q541001&prop=revisions&rvlimit=max>
>  already
> list all langlink changes to the items, but only by analyzing the comment
> or the actual change can you check if it was a langlink or a claim change
> (by using one of the wikibase actions)
>
I don't understand what is a "claim change", could you explain a little
more or point me some doc?
"wikibase" is an alias of "wikidata.org", right?

>
> * Overall API is moving away from the multi-formats like xml+wddx+php in
> favor of a single one - json, so in case you are still using xml i suggest
> migrating. See the main mediawiki API 
> roadmap<https://www.mediawiki.org/wiki/Requests_for_comment/API_Future> for
> other proposed api changes.
>
Thanks for pointing me the overall roadmap. I'll plan to migrate soon.

>
> -- Yuri Astrakhan (yurik)
>
> P.S. gmail automatically puts your emails into spam because it thinks its
> a phishing attack (the mail server forwards it as-if it came from you)
>
anything wrong in my email setting I can avoid being recognized as spam?

>
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>


-- 
Jiang BIAN

This email may be confidential or privileged.  If you received this
communication by mistake, please don't forward it to anyone else, please
erase all copies and attachments, and please let me know that it went to
the wrong person.  Thanks.
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to