Last modified: 2014-02-12 23:52:56 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 T60988, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58988 - LanguageOverlay when loaded via ajax does not show variant list
LanguageOverlay when loaded via ajax does not show variant list
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-27 07:08 UTC by Jon
Modified: 2014-02-12 23:52 UTC (History)
13 users (show)

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


Attachments

Description Jon 2013-12-27 07:08:52 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!
Comment 1 Jon 2013-12-27 07:10:00 UTC
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?
Comment 2 Bingle 2013-12-27 07:20:32 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1585
Comment 3 Mateusz Maćkowski 2013-12-27 13:05:33 UTC
Can you provide more informations about the bug? What do you mean by "language links"? And what do you mean by "language variants"?
Comment 4 Jon 2013-12-27 20:00:42 UTC
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.
Comment 5 Theopolisme 2013-12-27 20:03:24 UTC
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).
Comment 6 Gerrit Notification Bot 2013-12-27 20:07:59 UTC
Change 104128 had a related patch set uploaded by Theopolisme:
Provide language variant data via the api

https://gerrit.wikimedia.org/r/104128
Comment 7 Gerrit Notification Bot 2013-12-27 22:19:34 UTC
Change 104128 abandoned by Theopolisme:
Provide language variant data via the api

https://gerrit.wikimedia.org/r/104128
Comment 8 Gerrit Notification Bot 2013-12-28 00:12:58 UTC
Change 104168 had a related patch set uploaded by Theopolisme:
Add support for language variants in LanguageOverlay

https://gerrit.wikimedia.org/r/104168
Comment 9 Gerrit Notification Bot 2013-12-30 21:47:52 UTC
Change 104168 merged by jenkins-bot:
Add support for language variants in LanguageOverlay

https://gerrit.wikimedia.org/r/104168

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


Navigation
Links