Steps to Reproduce
Visit https://en.m.wikipedia.org/wiki/Main_Page#/languages
Compare with https://en.m.wikipedia.org/wiki/San_Francisco#/languages
Expected Results
- Each language entry appears in the middle of its row
Actual Results
- Each language entry appears closer to the top than the bottom of its row
Explanation
On English Wikipedia the main page lists language links like so
[[en:]] [[fr:]]
The empty string resolves (by accident?) to the main page and hence the title of these pages is not known by the API. The main page should be updated to specifically select those pages.
Environments Observed
- enwiki
Browser Version
- Chromium v65.0.3325.181
OS Version
- Ubuntu v17.10 64b
Device Model
- Desktop
Device Language
- English
Acceptance criteria
- When I visit the language overlay of the Main page I see the page title under the language name e.g. Hauptseite
Developer notes
The API returns an empty string for the main page title:
https://en.m.wikipedia.org/w/api.php?action=query&format=json&meta=siteinfo&siprop=general&prop=langlinks&lllimit=max&titles=Main_Page&formatversion=2&llprop=url%7Cautonym%7Clangname&llinlanguagecode=en
See T64020: API langlinks does not return title of Main Pages for background.