Manual:Hooks/OutputPageBeforeHTML

Warning
Use this hook at your own risk. See bug 7050

Details

 * $out: the OutputPage (object) to which wikitext is added
 * $text: the HTML text (string) that is being added