wiki.techinc.nl/includes/OutputTransform
C. Scott Ananian ff053ec155 [OutputTransform] Improve ContentDOMTransformStage
Make ContentDOMTransformStage handle Parsoid markup with PageBundle
information embedded in the ParserOutput.

Much of the complexity of this code should move to either Parsoid's
ContentUtils or else into the HtmlHolder abstraction (T347062).

Change-Id: Ib35ae38d84adc7df613d4c7de8930ed80e535634
2024-02-15 13:05:53 -05:00
..
Stages Merge "Namespace Message, move to appropriate directory" 2024-02-15 15:51:23 +00:00
ContentDOMTransformStage.php [OutputTransform] Improve ContentDOMTransformStage 2024-02-15 13:05:53 -05:00
ContentTextTransformStage.php Fix capitalisation of MediaWiki\OutputTransform namespace 2024-01-02 03:03:14 +00:00
DefaultOutputPipelineFactory.php Rename PostCacheTransformHookRunner 2024-02-07 13:01:20 -05:00
OutputTransformPipeline.php Fix capitalisation of MediaWiki\OutputTransform namespace 2024-01-02 03:03:14 +00:00
OutputTransformStage.php Rename PostCacheTransformHookRunner 2024-02-07 13:01:20 -05:00
README.md

Output transformations pipelines for wikitext

The classes in the Stages/ subdirectory contains HTML and DOM transforms for use in output processing pipelines, i.e. postprocessors for ParserOutput objects that either directly result from a parse or are fetched from ParserCache.

The default pipeline is created by DefaultOutputTransformFactory; it corresponds to what was previously contained in ParserOutput::getText. The shouldRun method in these stages uses defaults that indicates if the stage runs or not in the default OutputTransformPipeline.