Add the cache key to the filter output, like what we do with the parser cache, to...
authorTim Starling <tstarling@users.mediawiki.org>
Fri, 18 Feb 2011 05:55:09 +0000 (05:55 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Fri, 18 Feb 2011 05:55:09 +0000 (05:55 +0000)
includes/resourceloader/ResourceLoader.php

index 2f21b1a..a88ad59 100644 (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;
                        }