MediaWiki master
MediaWiki\OutputTransform\DefaultOutputPipelineFactory Class Reference

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

Public Member Functions

 __construct (HookContainer $hookContainer, TidyDriverBase $tidy, LanguageFactory $langFactory, Language $contentLang, LoggerInterface $logger, TitleFactory $titleFactory)
 
 buildPipeline ()
 Creates a pipeline of transformations to transform the content of the ParserOutput object from "parsed HTML" to "output HTML" and returns it.
 

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 ( HookContainer $hookContainer,
TidyDriverBase $tidy,
LanguageFactory $langFactory,
Language $contentLang,
LoggerInterface $logger,
TitleFactory $titleFactory )

Definition at line 37 of file DefaultOutputPipelineFactory.php.

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 59 of file DefaultOutputPipelineFactory.php.


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