Page MenuHomePhabricator

Show number of langlinks in API response for mobileview
Closed, ResolvedPublic

Description

When rendering a page via JavaScript it is important to know whether the article has other language versions. If it does a language button should be rendered if it doesn't then the language button should not be rendered.

To support this we should update the mobileview API so that it returns a number representing the number of lang links on an article.
This will allow bug 40678 to be closed.


Version: unspecified
Severity: enhancement

Details

Reference
bz59624

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:16 AM
bzimport set Reference to bz59624.

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1595

Theo is working on this! :)

Change 105988 had a related patch set uploaded by Theopolisme:
Hide languages link if no languages available

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

Was a bit too trigger happy - some broken tests stop this from being resolved.

Change 105988 merged by jenkins-bot:
Hide languages link if no languages available

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

Change 109728 had a related patch set uploaded by Brion VIBBER:
Bump action=mobileview's cache version since last update

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

Change 109728 merged by jenkins-bot:
Bump action=mobileview's cache version since last update

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