Manual:Hooks/ContentGetParserOutput

Details

 * $content: The Content object to render
 * $title: A Title object for the page, as context
 * $revId: The revision ID, as context
 * $options: ParserOptions for rendering. To avoid confusing the parser cache, the output can only depend on parameters provided to this hook function, not on global state.
 * $generateHtml: boolean, indicating whether full HTML should be generated. If false, generation of HTML may be skipped, but other information should still be present in the ParserOutput object.
 * &$output: ParserOutput, to manipulate or replace