Last modified: 2013-11-26 23:43:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T59623, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57623 - action=query prop=langlinks not working
action=query prop=langlinks not working
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-26 22:12 UTC by Yuvi Panda
Modified: 2013-11-26 23:43 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Yuvi Panda 2013-11-26 22:12:58 UTC
I'd expect https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=langlinks&format=json&lllang=ta&lltitle=India to return me the languagelink for language ta for article India, but I'm getting back an empty JSON result of []
Comment 1 Brad Jorsch 2013-11-26 23:43:00 UTC
With that query, you're asking it to search no pages for ta:India. Since there are no pages being queried, no pages get output.

To search for the ta-language langlink in India, use https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=langlinks&format=json&lllang=ta&titles=India

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links