Remove a dead patch of Skin code that was migrated completely into SkinLegacy and...
authorDaniel Friesen <dantman@users.mediawiki.org>
Mon, 4 Apr 2011 00:42:52 +0000 (00:42 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Mon, 4 Apr 2011 00:42:52 +0000 (00:42 +0000)
includes/Skin.php

index e326339..9efb3f7 100644 (file)
@@ -323,39 +323,8 @@ abstract class Skin {
        /**
         * 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 ) {