wiki.techinc.nl/includes/OutputTransform
Bartosz Dziewoński 1bf9db0779 Re-apply "Use Remex for DeduplicateStyles transform"
This reverts commit 7f63d5250e,
re-applying commit 82da9cf14b.
It can be re-applied safely after T354361 was fixed.

Most of the incidental changes from the original patch are
no longer needed, as they were made unnecessary by other work,
or were applied in I4cb2f29cf890af90f295624c586d9e1eb1939b95.

Change-Id: I1ff9a7c94244bffffe5574c0b99379ed1121a86d
(cherry picked from commit 09703c2c774a65dd9ee57ec83154aa1eab5a9d03)
2025-09-29 22:01:15 +00:00
..
Stages Re-apply "Use Remex for DeduplicateStyles transform" 2025-09-29 22:01:15 +00:00
ContentDOMTransformStage.php Namespace all remaining classes in includes/parser 2024-10-15 23:54:32 +01:00
ContentTextTransformStage.php Namespace all remaining classes in includes/parser 2024-10-15 23:54:32 +01:00
DefaultOutputPipelineFactory.php SECURITY: Ensure emitted HTML is safe against Unicode NFC normalization 2025-04-10 15:56:06 +01:00
OutputTransformPipeline.php Namespace all remaining classes in includes/parser 2024-10-15 23:54:32 +01:00
OutputTransformStage.php Namespace all remaining classes in includes/parser 2024-10-15 23:54:32 +01: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.