Page MenuHomePhabricator

Metadata differences between parsoid and legacy
Open, Needs TriagePublic

Description

Hypothesis:

If we build infrastructure to compare parser metadata between the legacy parser and parsoid across a large number of pages, we will be able to identify and correct deficiencies and establish confidence in switching production wikis to use Parsoid metadata.

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.
StatusSubtypeAssignedTask
Openihurbain
Openihurbain
OpenNone
ResolvedNone
Openihurbain
Openihurbain
ResolvedJgiannelos
Openihurbain
OpenNone
Openihurbain
OpenOSleger-WMF
Resolvedihurbain
Opencscott
OpenNone
Openihurbain
Resolvedihurbain
OpenTheDJ
Openihurbain
OpenABreault-WMF
OpenBUG REPORTNone
OpenNone
Opencscott
OpenNone
OpenTheDJ
OpenNone
OpenNone

Event Timeline

The main blocker is the PageImages extension, which we need to port to Parsoid.  https://phabricator.wikimedia.org/T263770

After that, T433940: RevisionUsedSha1Base36 is not populated in parsoid parseroutput same way legacy did - RevisionUsedSha1Base36 is involved in self-transclusion cache safety and should be investigated.

There are some kartographer differences too which probably Isabelle should look at -- and probably resolve as invalid, but worth looking first.  T433942 is an associative dict in legacy and a list in Parsoid, and maybe that should be reconciled. T433957 and T433955 are other diffs, maybe bogus.

Finally, two low-priority issues to investigate in SyntaxHighlight_GeSHi (T433961 -- we don't always include the ext.pygments.view module where core does) and TimedMediaHandler (T433960 -- missing deduplication).  Of these, I'm assuming that if the SyntaxHighlight_GeSHi one was significant, it would have shown up in visual diffs.  Worth checking out any way.

Change #1353252 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):

[mediawiki/core@master] WIP: Investigation of T433932 metadata differences

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