/**
* Outputs the HTML generated by other functions.
* @param $out Object: instance of OutputPage
- * @todo Exterminate!
*/
- function outputPage( OutputPage $out ) {
- global $wgDebugComments;
- wfProfileIn( __METHOD__ );
-
- $this->initPage( $out );
-
- // See self::afterContentHook() for documentation
- $afterContent = $this->afterContentHook();
-
- $out->out( $out->headElement( $this ) );
-
- if ( $wgDebugComments ) {
- $out->out( "<!-- Debug output:\n" .
- $out->mDebugtext . "-->\n" );
- }
-
- $out->out( $this->beforeContent() );
-
- $out->out( $out->mBodytext . "\n" );
-
- $out->out( $this->afterContent() );
-
- $out->out( $afterContent );
-
- $out->out( $this->bottomScripts( $out ) );
-
- $out->out( wfReportTime() );
-
- $out->out( "\n</body></html>" );
- wfProfileOut( __METHOD__ );
- }
+ abstract function outputPage( OutputPage $out );
static function makeVariablesScript( $data ) {
if ( $data ) {