Remove $wgUseDataURLs as promised by the comment in DefaultSettings.php . Data URL...
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 7 Oct 2010 17:48:46 +0000 (17:48 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 7 Oct 2010 17:48:46 +0000 (17:48 +0000)
includes/DefaultSettings.php
includes/ResourceLoaderModule.php

index b036745..f6fa836 100644 (file)
@@ -1681,12 +1681,6 @@ $wgResourceLoaderDebug = false;
  */
 $wgResourceLoaderUseESI = false;
 
-/**
- * Enable data URL embedding (experimental). This variable is very temporary and
- * will be removed once we get this feature stable.
- */
-$wgUseDataURLs = false;
-
 /** @} */ # end of cache settings
 
 /************************************************************************//**
index 22ab727..bda0795 100644 (file)
@@ -728,12 +728,12 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
         * @return string Remapped CSS
         */
        protected static function remapStyle( $file ) {
-               global $wgUseDataURLs, $wgScriptPath;
+               global $wgScriptPath;
                return CSSMin::remap(
                        file_get_contents( self::remapFilename( $file ) ),
                        dirname( $file ),
                        $wgScriptPath . '/' . dirname( $file ),
-                       $wgUseDataURLs
+                       true
                );
        }
 }