Page MenuHomePhabricator

Languages broken on dynamically loaded pages
Closed, ResolvedPublic

Description

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


Version: unspecified
Severity: normal

Details

Reference
bz42962

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:04 AM
bzimport set Reference to bz42962.

Possibly can be fixed in conjunction to bug 40678

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.