Manual:ContentParseParams.php
MediaWiki file: ContentParseParams.php | |
---|---|
Location: | includes/content/Renderer/ |
Source code: | master • 1.43.2 • 1.42.7 • 1.39.13 |
Classes: | MediaWiki\Content\Renderer\ContentParseParams |
An object for holding parser parameters, intended for internal use by MediaWiki core only. The object is required as an argument for some functions in ContentHandler.
Methods (internal only)
- getPage() - return a PageReference.
- getRevId() - return a revision ID.
- getParserOptions() - return ParserOptions.
- getGenerateHtml() - whether or not to generate HTML.