Reverts r75018, and does what that commit was supposed to do.
authorTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 19 Oct 2010 17:52:01 +0000 (17:52 +0000)
committerTrevor Parscal <tparscal@users.mediawiki.org>
Tue, 19 Oct 2010 17:52:01 +0000 (17:52 +0000)
includes/ResourceLoader.php
resources/Resources.php

index 1d4a202..cda10d2 100644 (file)
@@ -301,6 +301,9 @@ class ResourceLoader {
                }
 
                $response = $this->makeModuleResponse( $context, $modules, $missing );
+               if ( $context->getDebug() && strlen( $warnings = ob_get_contents() ) ) {
+                       $response .= "/*\n$warnings\n*/";
+               }
                // Clear any warnings from the buffer
                ob_clean();
                echo $response;
index 962ab83..1ca2c40 100644 (file)
@@ -11,9 +11,6 @@ return array(
        
        /* Skins */
        
-       'vector2e2e2' => new ResourceLoaderFileModule(
-               array( 'styles' => array( 'skins/vector/screen2e2e2.css' => array( 'media' => 'screen' ) ) )
-       ),
        'vector' => new ResourceLoaderFileModule(
                array( 'styles' => array( 'skins/vector/screen.css' => array( 'media' => 'screen' ) ) )
        ),