Thanks Marius and Mark.
Will the API keep unaffected after interlanguages are moved to wikidata.org?
On Fri, Feb 22, 2013 at 10:44 AM, Mark A. Hershberger mah@everybody.orgwrote:
On 02/22/2013 01:25 PM, Jiang BIAN wrote:
Our project is still working with old interlanguage link (parsing "[[en:Proxy server]]"). Is there other way to get the interlanguage link besides talking with www.wikidata.org http://www.wikidata.org? The example in API doc seems return a wrong result
The API document is correct, but you will need to use the llcontinue parameter to get the next batch of results.
https://en.wikipedia.org/w/api.php?action=query&titles=Albert%20Einstein...
You can use the lllimit parameter to get more results in any one response.
There is no path to peace. Peace is the path. -- Mahatma Gandhi, "Non-Violence in Peace and War"
On Fri, Feb 22, 2013 at 1:49 PM, Jiang BIAN bianjiang@google.com wrote:
Will the API keep unaffected after interlanguages are moved to wikidata.org?
Considering that https://en.wikipedia.org/w/api.php?titles=ASCII&action=query&prop=la... returns numerous langlinks even though the links have all been removed from the wikitext, it looks like the answer is "yes".
On Fri, Feb 22, 2013 at 11:15 AM, Brad Jorsch bjorsch@wikimedia.org wrote:
On Fri, Feb 22, 2013 at 1:49 PM, Jiang BIAN bianjiang@google.com wrote:
Will the API keep unaffected after interlanguages are moved to
wikidata.org?
Considering that https://en.wikipedia.org/w/api.php?titles=ASCII&action=query&prop=la... returns numerous langlinks even though the links have all been removed from the wikitext, it looks like the answer is "yes".
Brad, your use of "looks like" makes me a little confusing. Let me clarify my question: After interlanguage link is moved to wikidata.org, what should I expect from https://*en.wikipedia.org/w/api.php* ?titles=ASCII&action=query&prop=langlinkshttps://en.wikipedia.org/w/api.php?titles=ASCII&action=query&prop=langlinks? old info of the article or the up-to-date language link info kept on wikidata.org?
Thanks
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Somewhat related, there is an open bug which would indicate whether the langlink is locally stored or from a foreign source (Wikidata). https://bugzilla.wikimedia.org/show_bug.cgi?id=41345 -- Legoktm
On Fri, Feb 22, 2013 at 1:15 PM, Brad Jorsch bjorsch@wikimedia.org wrote:
On Fri, Feb 22, 2013 at 1:49 PM, Jiang BIAN bianjiang@google.com wrote:
Will the API keep unaffected after interlanguages are moved to
wikidata.org?
Considering that https://en.wikipedia.org/w/api.php?titles=ASCII&action=query&prop=la... returns numerous langlinks even though the links have all been removed from the wikitext, it looks like the answer is "yes".
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
mediawiki-api@lists.wikimedia.org