[go: up one dir, main page]

Page MenuHomePhabricator

It's 2022 and we still can't use Parsoid in production
Closed, InvalidPublic

Description

In order to generate data needed for DiscussionTools permalinks, we need to parse newly saved talk pages using Parsoid. I was going to use the ParsoidOutputAccess service in MW for this, but at the last minute I was told it has some caching problems, and had to switch to using HTTP requests to Parsoid/RESTBase like we do in VisualEditor (see: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/815289, https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/771974/21..22). It turns out that this barely works.

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
Resolvedppelberg
ResolvedDLynch
Resolvedmatmarex
Resolvedmatmarex
Invalidmatmarex
ResolvedPRODUCTION ERRORmatmarex
Resolvedmatmarex
Resolvedmatmarex
Resolvedmatmarex

Event Timeline

matmarex claimed this task.

I ended up adding fallbacks to ParsoidOutputAccess in cases where the HTTP requests to Parsoid/RESTBase fail (see subtasks). They're rare enough that the lack of caching isn't a problem.

I'm still hopeful that we will be able to replace this with a single reliable method, but I don't think this task is helpful any more. I was in a bad mood when filing it ;)