Page MenuHomePhabricator

Graphs and charts are not shown in Wikipedia Android App
Open, Needs TriagePublicBUG REPORT

Description

Steps to reproduce

Open an article that has a Graph:Chart, e.g. https://en.wikipedia.org/wiki/COVID-19_pandemic_in_the_United_States#Vaccine_research,_development,_and_deployment

Expected results

Graph / chart should be shown.

Article in Firefox app:

Chart in Firefox app.png (1×2 px, 421 KB)

Actual results

Graph / chart is not shown, there is empty space on its place

Same article on the same device in Wikipedia Android app:

Chart in Wikipedia app.png (1×2 px, 363 KB)

Environments observed

App version: 2.7.50345-r-2021-03-04
Android OS versions: 7.1.2
Device model: SM-T520
Device language: German

Tablet info.png (1×2 px, 117 KB)

Caused by

T242855: Undeploy graphoid

Event Timeline

See https://en.wikipedia.org/api/rest_v1/page/html/COVID-19_pandemic_in_the_United_States#Vaccine_research,_development,_and_deployment

So, this is a problem in Parsoid related to some JS modules not being exported. We don't have a quick immediate fix for this unfortunately but fixing this functionality gap in Parsoid relative to the core is something we will be fixing in the coming quarter or two. But, we can bump it up on the list of things to fix since you are flagging this.

While PI could hack in a fix for Android, I would prefer us doing it right in Parsoid itself.

Let me know if you have concerns or expectations of a different timeline.

I'm reopening this. Its bad for visibility to have this closed as a duplicate, this is exactly why we have ticket dependencies.

Pppery subscribed.

This is still a valid bug and will need testing to make sure the new Graph service supports the app.