Manual:$wgOut

Special global variable that can be modified to change rendering of the page.

For example, you can add debug information. (If using the default MonoBook skin, you will need to uncomment the line "$this->text( 'debug' );" in MonoBook.php)

Other examples of using $wgOut: