Last modified: 2014-02-12 23:48:12 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 T44962, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42962 - Languages broken on dynamically loaded pages
Languages broken on dynamically loaded pages
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
beta (Other open bugs)
unspecified
All All
: High normal
: ---
Assigned To: Jon
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-11 21:38 UTC by Jon
Modified: 2014-02-12 23:48 UTC (History)
7 users (show)

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


Attachments

Description Jon 2012-12-11 21:38:17 UTC
Go to homepage
Using search, search for San Francisco
Scroll to the bottom of the page - there is no read in other languages button
Refresh page language button magically appears

This seems to be a problem with the api
http://test.m.wikipedia.org/w/api.php?action=mobileview&format=json&page=San+Francisco&redirects=yes&prop=sections%7Ctext&noheadings=yes&sectionprop=level%7Cline%7Canchor&sections=all

returns all sections excluding the language section.

Expected:
API should return the languages section
Comment 1 Jon 2012-12-11 21:39:28 UTC
Possibly can be fixed in conjunction to bug 40678
Comment 2 Max Semenik 2012-12-21 14:11:26 UTC
Note that the API shall not return langlinks in the same chunk of HTML - rendering the links UI is interface's responsibility. The API will simply provide a raw HTML for links or alternatively a list of links.
Comment 3 Jon 2013-01-03 21:09:33 UTC
https://gerrit.wikimedia.org/r/42128

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


Navigation
Links