Add the cache key to the filter output, like what we do with the parser cache, to make it easier to debug filter issues.

This commit is contained in:
Tim Starling 2011-02-18 05:55:09 +00:00
parent 2c6e16e5e5
commit a1717b4953

View file

@ -152,9 +152,11 @@ class ResourceLoader {
$result = JavaScriptDistiller::stripWhiteSpace(
$data, $wgResourceLoaderMinifyJSVerticalSpace
);
$result .= "\n\n/* cache key: $key */\n";
break;
case 'minify-css':
$result = CSSMin::minify( $data );
$result .= "\n\n/* cache key: $key */\n";
break;
}