Manual:ContentParseParams.php
MediaWiki file: ContentParseParams.php | |
---|---|
Location: | includes/content/Renderer/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
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.