62 parent::__construct(
'ArticleView', $workKey );
65 $this->renderer = $revisionRenderer;
84 $renderedRevision = $this->renderer->getRenderedRevision(
91 $parserOutput = $renderedRevision->getRevisionParserOutput();
93 return Status::newGood( $parserOutput );
107class_alias( PoolWorkArticleView::class,
'PoolWorkArticleView' );
Service for getting rendered output of a given page.
PoolCounter protected work wrapping RenderedRevision->getRevisionParserOutput.
renderRevision()
Render the given revision.
ParserOptions $parserOptions
__construct(string $workKey, RevisionRecord $revision, ParserOptions $parserOptions, RevisionRenderer $revisionRenderer, LoggerSpi $loggerSpi)
Set options of the Parser.