Manual:ContentRenderer.php
MediaWiki file: ContentRenderer.php | |
---|---|
Location: | includes/content/Renderer/ |
Source code: | master • 1.42.1 • 1.41.2 • 1.39.8 |
Classes: | MediaWiki\Content\Renderer\ContentRenderer |
A service to render content. It can be instantiated with MediaWikiServices::getInstance()
->getContentRenderer()
. It was introduced in 1.38.
Public methods
edit- getParserOutput() - returns a ParserOutput object containing information derived from this content. Supersedes Content::getParserOutput().