User reported:
https://en.wikipedia.org/wiki/List_of_the_oldest_living_people?wprov=sfla1
Table on this article is not displayed properly.
Screenshot:
Sharvaniharan | |
Dec 11 2020, 11:42 PM |
F33943261: Screenshot_20201210-191442.jpg | |
Dec 11 2020, 11:42 PM |
User reported:
https://en.wikipedia.org/wiki/List_of_the_oldest_living_people?wprov=sfla1
Table on this article is not displayed properly.
Screenshot:
I note it's the same on the iOS app (6.7.3) too
https://en.m.wikipedia.org/wiki/List_of_the_oldest_living_people is fine both on my laptop and on my iPhone in Safari/Chrome
https://en.wikipedia.org/api/rest_v1/page/html/List_of_the_oldest_living_people confirms that the table isn't parsed by Parsoid. Likely some markup error or some edge case. We'll investigate.
Okay, this turns out to be a case where Lua modules on wikis make some assumptions which aren't true when Parsoid is used. In this specific case, Scribunto has a copy of the core parser object that is different from a copy of the core parser that Parsoid retains and so there is no shared state between the two copies and the modules break.
https://en.wikipedia.org/w/index.php?search=mw.text.unstrip&title=Special:Search&profile=advanced&fulltext=1&advancedSearch-current=%7B%7D&ns828=1 shows there are about 47 hits for use of unstrip* methods that suffer from this problem. There are probably other uses of stateful functionality that will also break with Parsoid.
I'll create a separate task to figure out how to fix this.