Last modified: 2010-06-23 13:44:47 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 T26092, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24092 - API doesn't response all available langlinks
API doesn't response all available langlinks
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Roan Kattouw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-23 13:05 UTC by rurseekatze
Modified: 2010-06-23 13:44 UTC (History)
5 users (show)

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


Attachments

Description rurseekatze 2010-06-23 13:05:54 UTC
The API does not response all available translations for a certain article.
For example:

This is the answer of the API request:

http://pl.wikipedia.org/w/api.php?action=query&titles=Muzeum_Azji_i_Pacyfiku&prop=langlinks&lllimit=max&format=xml

But this article is available in other languages as you can see here:

http://pl.wikipedia.org/wiki/Muzeum_Azji_i_Pacyfiku
Comment 1 Roan Kattouw 2010-06-23 13:09:07 UTC
That's because http://pl.wikipedia.org/wiki/Muzeum_Azji_i_Pacyfiku is a redirect to http://pl.wikipedia.org/wiki/Muzeum_Azji_i_Pacyfiku_w_Warszawie . Look at http://pl.wikipedia.org/w/api.php?action=query&titles=Muzeum_Azji_i_Pacyfiku&prop=langlinks&lllimit=max&format=xml&redirects and you'll see the result you wanted.

The result you linked is correct, because there are no langlinks on the redirect page.
Comment 2 rurseekatze 2010-06-23 13:44:47 UTC
Oh, sorry.

I did not know that feature.

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


Navigation
Links