Last modified: 2014-02-12 23:52:56 UTC
/w/api.php?format=json&action=query&prop=langlinks&llurl=true&lllimit=max&titles=San_Francisco can only be used to get languages for a given page however doesn't return language links. This blocks mobile from generating a list of languages dynamically via JavaScript and populating Special:MobileLanguages with variants. Make it so!
Andre, Quim this would be a good Google summer code in task. Max - I'm not sure what is the right component for this API?
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1585
Can you provide more informations about the bug? What do you mean by "language links"? And what do you mean by "language variants"?
if you look at https://sr.m.wikipedia.org/wiki/San_Francisco and click the language button at the bottom of the page you will see there are 2 lists - one with variants (at the top with 3 items) and one with languages.
Although actually there should only be two; the first one should be hidden since it is the current variant. I'm about to upload a patch for this (to core). Then once that's merged I'll reimplement the functionality in MobileFrontend (which perhaps should be a separate "task" on GCI? I don't know).
Change 104128 had a related patch set uploaded by Theopolisme: Provide language variant data via the api https://gerrit.wikimedia.org/r/104128
Change 104128 abandoned by Theopolisme: Provide language variant data via the api https://gerrit.wikimedia.org/r/104128
Change 104168 had a related patch set uploaded by Theopolisme: Add support for language variants in LanguageOverlay https://gerrit.wikimedia.org/r/104168
Change 104168 merged by jenkins-bot: Add support for language variants in LanguageOverlay https://gerrit.wikimedia.org/r/104168