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.
Description
Description
Event Timeline
Comment Actions
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
Comment Actions
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.