Manual:ContentRenderer.php
MediaWiki file: ContentRenderer.php | |
---|---|
Location: | includes/content/Renderer/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
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().