Page MenuHomePhabricator

{{Wikidata/Population}} in ru Wikipedia render to nothing in mobile-html
Open, MediumPublic

Event Timeline

Dbrant renamed this task from {{Wikidata/Population}} in ru Wikipedia render to nothing in Android app to {{Wikidata/Population}} in ru Wikipedia render to nothing in mobile-html.Mon, Feb 22, 1:55 PM
Dbrant updated the task description. (Show Details)

@Aklapper No, I believe it's upstream from that, probably Parsoid , since it behaves similarly with the html endpoint:

https://ru.wikipedia.org/api/rest_v1/page/html/%D0%9A%D0%BC%D0%B8%D1%82%D1%8F%D0%BD%D0%BA%D0%B0

It seems like Parsoid is going to need a native implementation in order to get this to work. That's filed as T272942

It looks like the graph extension collects a bunch of state,

<div class="center" style="width:auto; margin-left:auto; margin-right:auto;"><div style="display: inline-block; vertical-align: bottom;"><div class="mw-graph mw-graph-always mw-graph-nofallback" style="min-width:700px;min-height:300px" data-graph-id="3a2f544de7ab64fc3b6db8eef0c90b766057d6a5"></div></div></div>

and then pushes a script into the head that's used to render the graphs,

wgGraphSpecs":{"3a2f544de7ab64fc3b6db8eef0c90b766057d6a5":{"version":2,"width":700,"height":300,"data":[{"name":"table","values":
"year,month,day,population\n1897,07,01,12\n1909,07,01,7\n1921,07,01,24\n1959,07,01,80 ...