Page MenuHomePhabricator

UX for easy per-page opt-in/opt-out to Parsoid Read Views
Closed, ResolvedPublic

Description

Once you select the 'Parsoid read views' feature in ParserMigration you start using Parsoid for all page views. Great!

But what if you found a page which didn't render correctly in Parsoid? Right now the only way to get the legacy rendering for that page is to go back into your user preferences and turn off parsoid for all pages again, then navigate back to the page you were on.

It would be better if, for pages which are rendered with Parsoid page views, there was a handy link (in the side bar? At the top of the page with the page indicators?) that said "view this page with the legacy parser" that would like to the same page but with ?useparsoid=no added to the URL, which would opt out of parsoid just for that page.

And then it would also be great it we could count the number of views and titles of the ?useparsoid=no pages to get an idea how well we're doing: which pages are broken, how many times early-adopters have to manually opt out of parsoid, etc.

Event Timeline

(The current ?useparsoid= query processing I think takes *any* instance of useparsoid in the query string as an opt-in, so that would have to be changed to recognize no as a opt-out case as well.)

Change 972499 had a related patch set uploaded (by Sbailey; author: Sbailey):

[mediawiki/extensions/ParserMigration@master] Adding Tools link use core parser for this page link

https://gerrit.wikimedia.org/r/972499

Change 972499 merged by jenkins-bot:

[mediawiki/extensions/ParserMigration@master] Adding Tools link use core parser for this page link

https://gerrit.wikimedia.org/r/972499