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