MediaWiki master
MediaWiki\OutputTransform\DefaultOutputPipelineFactory Class Reference

This class contains the default output transformation pipeline factory for wikitext. More...

Public Member Functions

 __construct (ServiceOptions $options, Config $config, LoggerInterface $logger, ObjectFactory $objectFactory)
 
 buildPipeline ()
 Creates a pipeline of transformations to transform the content of the ParserOutput object from "parsed HTML" to "output HTML" and returns it.
 

Public Attributes

const CONSTRUCTOR_OPTIONS
 

Detailed Description

This class contains the default output transformation pipeline factory for wikitext.

It is a postprocessor for ParserOutput objects either directly resulting from a parse or fetched from ParserCache.

Stability: unstable

Definition at line 28 of file DefaultOutputPipelineFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\OutputTransform\DefaultOutputPipelineFactory::__construct ( ServiceOptions $options,
Config $config,
LoggerInterface $logger,
ObjectFactory $objectFactory )

Member Function Documentation

◆ buildPipeline()

MediaWiki\OutputTransform\DefaultOutputPipelineFactory::buildPipeline ( )

Creates a pipeline of transformations to transform the content of the ParserOutput object from "parsed HTML" to "output HTML" and returns it.

Access: internal
Returns
OutputTransformPipeline

Definition at line 119 of file DefaultOutputPipelineFactory.php.

Member Data Documentation

◆ CONSTRUCTOR_OPTIONS

const MediaWiki\OutputTransform\DefaultOutputPipelineFactory::CONSTRUCTOR_OPTIONS
Initial value:
= [
]
const OutputPipelineStages
Name constant for the OutputPipelineStages setting, for use with Config::get()

Definition at line 35 of file DefaultOutputPipelineFactory.php.


The documentation for this class was generated from the following file: