wiki.techinc.nl/includes/OutputTransform
Bartosz Dziewoński b26db1f866 Move section heading formatting to post-cache transform (forward-compat)
Split off from I4eae18d9d16f54391daba0de82ad05e50f07f9eb for
forward-compatibility, in case that patch needs to be reverted.
See that change for tests and explanation.

Bug: T13555
Change-Id: Ibce512b3c4a52f74b2d2124f0159e306f2689ea5
2024-02-09 23:45:42 +00:00
..
Stages Move section heading formatting to post-cache transform (forward-compat) 2024-02-09 23:45:42 +00:00
ContentDOMTransformStage.php Fix capitalisation of MediaWiki\OutputTransform namespace 2024-01-02 03:03:14 +00: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.