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, 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.
 

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

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\OutputTransform\DefaultOutputPipelineFactory::__construct ( ServiceOptions $options,
HookContainer $hookContainer,
TidyDriverBase $tidy,
LanguageFactory $langFactory,
Language $contentLang,
LoggerInterface $logger,
TitleFactory $titleFactory )

Definition at line 46 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 70 of file DefaultOutputPipelineFactory.php.

Member Data Documentation

◆ CONSTRUCTOR_OPTIONS

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

Definition at line 34 of file DefaultOutputPipelineFactory.php.


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