Page MenuHomePhabricator

rendering differences between Android app vs. Mobile Web and Desktop Web
Closed, DeclinedPublic

Description

https://en.wikipedia.org/wiki/Special:PrefixIndex/User:Jeremyb/ListItem_formatting_test

tests 1 and 3 render the same on all 3 platforms. (Android app, mobile web, desktop web. webs are Chrome on Android but I guess doesn't matter which browser.)

test 2 has the second and third list items struck on the webs and on the Android app, the whole rest of the page is struck even after the end of the list starting with second list item.

here's the source of test 2:

* amit
* <s>Foo quux
* <s>bar</s> baz
* lorem ipsum

foooooooo

Event Timeline

jeremyb created this task.Mar 22 2018, 12:10 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 22 2018, 12:10 AM
Dbrant added a subscriber: Dbrant.

The app retrieves article content from Parsoid, which might be handling unbalanced HTML tags differently from the MW parser. Are there Wikipedia articles where this is causing issues?

The difference is only temporary. Once Tidy is replaced with Remex (by end June), it will fail similarly on Desktop as https://en.wikipedia.org/wiki/User:Jeremyb/ListItem_formatting_test_2?action=parsermigration-edit shows (see the right side).

ssastry closed this task as Declined.Mar 22 2018, 12:53 AM

The app retrieves article content from Parsoid, which might be handling unbalanced HTML tags differently from the MW parser. Are there Wikipedia articles where this is causing issues?

originally found at https://en.wikipedia.org/w/index.php?title=Wikipedia:Meetup/NYC/Header&offset=20180322005302&limit=4&action=history

@ssastry I don't know that much about the migration but one solution could be warn users when they try to save content which has inconsistent rendering between old/new.

@ssastry I don't know that much about the migration but one solution could be warn users when they try to save content which has inconsistent rendering between old/new.

Right now, we are exposing all these errors via the https://en.wikipedia.org/wiki/Special:LintErrors page. But after June, these errors will be a bit more obvious on save since the new rendering will become the default.