Page MenuHomePhabricator

Improve coverage of the ContentMetadataCollector interface
Open, Needs TriagePublic

Description

Moving a bunch of deferred tasks from T287216: ParserOutput should implement ContentMetadataCollector which are needed for Parsoid to fully reflect the underlying ParserOutput type. In particular, the subtasks will need to be done before Parsoid can replace the legacy parser in the post-edit pipeline.

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.

Event Timeline

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

[mediawiki/core@master] WIP: Deprecate the use of non-string page property values

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

T351931: With parsoid categories are not shown requires ParserOutput::setCategories() which I don't think is covered by a more-specific task (yet)

Actually, ContentMetadataCollector already has ::addCategory although it takes a string (db key) and we should probably let it use a LinkTarget now that it can do so.

We still need to just iterate over the categories we see and add them to the PO.