If we add other fragments than body to the ContentHolder, we need to serialize these in ParserOutput. Whether it's easier/better to serialize the whole ContentHolder or to only serialize its fragments is left as an exercise to the implementer.
Description
Details
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | BUG REPORT | ihurbain | T411280 Links in <mapframe> broken when using Parsoid | ||
| Open | ihurbain | T423700 Apply OutputTransform stages to other fragment than BODY in ContentHolder | |||
| Open | ihurbain | T423701 Serialize ContentHolder (or at least its fragments) in ParserOutput |
Event Timeline
Change #1273838 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):
[mediawiki/core@master] Forward-compatibility for serialization of ContentHolder in ParserOutput
Change #1273839 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):
[mediawiki/core@master] Serialize ContentHolder in ParserOutput
Change #1277587 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):
[mediawiki/services/parsoid@master] Add a method to check whether a BasePageBundle is empty
Change #1277587 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Add a method to check whether a BasePageBundle is empty
Change #1277671 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.23.0-a29
Change #1277671 merged by jenkins-bot:
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.23.0-a29
Change #1278646 had a related patch set uploaded (by C. Scott Ananian; author: Isabelle Hurbain-Palatin):
[mediawiki/services/parsoid@REL1_45] Add a method to check whether a BasePageBundle is empty
Change #1278646 merged by jenkins-bot:
[mediawiki/services/parsoid@REL1_45] Add a method to check whether a BasePageBundle is empty
Change #1280416 had a related patch set uploaded (by Isabelle Hurbain-Palatin; author: Isabelle Hurbain-Palatin):
[mediawiki/services/parsoid@master] Introduce BasePageBundle::hasContent and make isEmpty a negative proxy
Change #1280416 merged by jenkins-bot:
[mediawiki/services/parsoid@master] Introduce BasePageBundle::hasContent and make isEmpty a negative proxy
Change #1284813 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.24.0-a2
Change #1284813 merged by jenkins-bot:
[mediawiki/vendor@master] Bump wikimedia/parsoid to 0.24.0-a2
Change #1284832 had a related patch set uploaded (by C. Scott Ananian; author: C. Scott Ananian):
[mediawiki/vendor@wmf/1.47.0-wmf.1] Bump wikimedia/parsoid to 0.24.0-a2
Change #1284832 merged by jenkins-bot:
[mediawiki/vendor@wmf/1.47.0-wmf.1] Bump wikimedia/parsoid to 0.24.0-a2
Mentioned in SAL (#wikimedia-operations) [2026-05-07T21:15:34Z] <cscott@deploy1003> Started scap sync-world: Backport for [[gerrit:1284828|Upgrading webonyx/graphql-php (v15.31.5 => v15.32.3)]], [[gerrit:1284834|composer.json: Update webonyx/graphql-php to ^15.32.3]], [[gerrit:1284832|Bump wikimedia/parsoid to 0.24.0-a2 (T319058 T368724 T373384 T420336 T423241 T423701 T424446 T424773 T425008 T425056 T425107 T425731)]], [[gerrit:1284837|Bump wikimedia/parsoid to 0.24.0-a2 (T425731)]
Mentioned in SAL (#wikimedia-operations) [2026-05-07T21:17:28Z] <cscott@deploy1003> cscott: Backport for [[gerrit:1284828|Upgrading webonyx/graphql-php (v15.31.5 => v15.32.3)]], [[gerrit:1284834|composer.json: Update webonyx/graphql-php to ^15.32.3]], [[gerrit:1284832|Bump wikimedia/parsoid to 0.24.0-a2 (T319058 T368724 T373384 T420336 T423241 T423701 T424446 T424773 T425008 T425056 T425107 T425731)]], [[gerrit:1284837|Bump wikimedia/parsoid to 0.24.0-a2 (T425731)]] synced to the t
Mentioned in SAL (#wikimedia-operations) [2026-05-07T21:27:35Z] <cscott@deploy1003> Finished scap sync-world: Backport for [[gerrit:1284828|Upgrading webonyx/graphql-php (v15.31.5 => v15.32.3)]], [[gerrit:1284834|composer.json: Update webonyx/graphql-php to ^15.32.3]], [[gerrit:1284832|Bump wikimedia/parsoid to 0.24.0-a2 (T319058 T368724 T373384 T420336 T423241 T423701 T424446 T424773 T425008 T425056 T425107 T425731)]], [[gerrit:1284837|Bump wikimedia/parsoid to 0.24.0-a2 (T425731)
Change #1273838 merged by jenkins-bot:
[mediawiki/core@master] Forward-compatibility for serialization of ContentHolder in ParserOutput
Change #1289070 had a related patch set uploaded (by C. Scott Ananian; author: Isabelle Hurbain-Palatin):
[mediawiki/core@wmf/1.47.0-wmf.3] Forward-compatibility for serialization of ContentHolder in ParserOutput
Change #1289070 merged by jenkins-bot:
[mediawiki/core@wmf/1.47.0-wmf.3] Forward-compatibility for serialization of ContentHolder in ParserOutput
Mentioned in SAL (#wikimedia-operations) [2026-05-19T13:23:20Z] <cscott@deploy1003> Started scap sync-world: Backport for [[gerrit:1289070|Forward-compatibility for serialization of ContentHolder in ParserOutput (T423701)]], [[gerrit:1289071|ParsoidLanguageConverter: don't convert TOC if NOCONTENTCONVERT (T424773)]]
Mentioned in SAL (#wikimedia-operations) [2026-05-19T13:25:24Z] <cscott@deploy1003> cscott: Backport for [[gerrit:1289070|Forward-compatibility for serialization of ContentHolder in ParserOutput (T423701)]], [[gerrit:1289071|ParsoidLanguageConverter: don't convert TOC if NOCONTENTCONVERT (T424773)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.
Mentioned in SAL (#wikimedia-operations) [2026-05-19T13:36:16Z] <cscott@deploy1003> Finished scap sync-world: Backport for [[gerrit:1289070|Forward-compatibility for serialization of ContentHolder in ParserOutput (T423701)]], [[gerrit:1289071|ParsoidLanguageConverter: don't convert TOC if NOCONTENTCONVERT (T424773)]] (duration: 12m 56s)
Change #1273839 merged by jenkins-bot:
[mediawiki/core@master] Serialize ContentHolder in ParserOutput
Change #1292271 had a related patch set uploaded (by C. Scott Ananian; author: Isabelle Hurbain-Palatin):
[mediawiki/core@REL1_46] Forward-compatibility for serialization of ContentHolder in ParserOutput