Manual:Hooks/ParserBeforeTidy

Details
This hook allows to intercept processing after all HTML has been generated but before it has been standardized (via RemexHtml).


 * : Parser object
 * : Actual text as a string

Example
$text will hold the text for the page. To change the page text, modify this value. E.g. to add the phrase "The mighty oracle gives forth this proclamation: " to the front of the page text, you would use the following code: