Page MenuHomePhabricator

Provide ParserMigration option to exclude mobile frontend
Closed, ResolvedPublic

Description

Background Information

There are some incompatibilities with Parsoid and MobileFrontEnd (T269499). In order to provide deployment flexibility, we should have the option of excluding pages rendered with MobileFrontEnd from the "default" wiki opt-in status for Parsoid. We should probably still have per-user opt-in and useparsoid=1 select Parsoid regardless of whether the query is from mobile or not, we're just talking about the "default wiki opt-in".

Why doing this now?

This is important to unblock the first roll-outs to English Wikivoyage and Hebrew Wikivoyage, however, this is just a feature flag to allow our team to experiment with Parsoid Read Views roll-outs before doing major roll-outs. For the next deployment targets, this feature flag shouldn't be use and MobileFrontend compatibility with Parsoid will become a blocker

Event Timeline

I believe this ticket should not be tagged with`ContentTranslation` project.

ABreault-WMF subscribed.

Stealing, per the meeting today

Change #1041257 had a related patch set uploaded (by Arlolra; author: Arlolra):

[mediawiki/extensions/ParserMigration@master] Provide ParserMigration option to exclude mobile frontend

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

Change #1041257 merged by jenkins-bot:

[mediawiki/extensions/ParserMigration@master] Provide ParserMigration option to exclude mobile frontend

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

Change #1048144 had a related patch set uploaded (by Arlolra; author: Arlolra):

[operations/mediawiki-config@master] Follow the defaults for Parsoid on MFE on officewiki

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

Post-deploy, Parsoid is still the default for read views on officewiki but now it's disabled on MFE unless explicitly requested. So, we're unblocked for rolling out to the wikivoyages. The patch in T363720#9912252 is just to continue dogfooding Parsoid read views on MFE on officewiki.

Change #1048144 merged by jenkins-bot:

[operations/mediawiki-config@master] Follow the defaults for Parsoid on MFE on officewiki

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

Mentioned in SAL (#wikimedia-operations) [2024-07-02T20:21:47Z] <urbanecm@deploy1002> Started scap sync-world: Backport for [[gerrit:1048144|Follow the defaults for Parsoid on MFE on officewiki (T363720)]]

Mentioned in SAL (#wikimedia-operations) [2024-07-02T20:24:34Z] <urbanecm@deploy1002> arlolra, urbanecm: Backport for [[gerrit:1048144|Follow the defaults for Parsoid on MFE on officewiki (T363720)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-07-02T20:33:32Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:1048144|Follow the defaults for Parsoid on MFE on officewiki (T363720)]] (duration: 11m 44s)