Manual:RevisionRenderer.php
MediaWiki file: RevisionRenderer.php | |
---|---|
Location: | includes/Revision/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | MediaWiki\Revision\RevisionRenderer |
The RevisionRenderer service provides access to rendered output for revisions. It does so by acting as a factory for RenderedRevision instances, which in turn provide lazy access to ParserOutput objects. One key responsibility of RevisionRenderer is implementing the layout used to combine the output of multiple slots.
Instantiation
editPublic methods
edit- setLogger()
- getRenderedRevision() - get the RenderedRevision object based on a RevisionRecord and optional arguments.