Manual:ParserOutputAccess.php
MediaWiki file: ParserOutputAccess.php | |
---|---|
Location: | includes/page/ |
Source code: | master • 1.42.1 • 1.41.2 • 1.39.8 |
Classes: | MediaWiki\Page\ParserOutputAccess |
A service for getting the ParserOutput, i.e. the rendered output of a given wiki page. It is a high-level service, encapsulating concerns like caching and stampede protection via PoolCounter. Introduced in MW 1.36.
This class is NOT ready for use by extensions. Extensions should use WikiPage::getParserOutput() until this class has settled down.
Instantiation
editPublic methods
edit- getCachedParserOutput() - return the rendered output for the given page if it is present in the cache.
- getParserOutput() - returns the rendered output for the given page, with caching and concurrency control applied.