From: Aaron Schulz Date: Mon, 3 Oct 2011 05:32:48 +0000 (+0000) Subject: Follow-up r98698: cache urls with 'version' param...which is kind if important X-Git-Tag: 1.31.0-rc.0~27298 X-Git-Url: https://git.cyclocoop.org//%22?a=commitdiff_plain;h=2bb5bec447a4bf9e6edfba6775467d2fb3e6002d;p=lhc%2Fweb%2Fwiklou.git Follow-up r98698: cache urls with 'version' param...which is kind if important --- diff --git a/includes/cache/ResourceFileCache.php b/includes/cache/ResourceFileCache.php index 36098475e0..bdb9e4ccbf 100644 --- a/includes/cache/ResourceFileCache.php +++ b/includes/cache/ResourceFileCache.php @@ -47,8 +47,8 @@ class ResourceFileCache extends FileCacheBase { // Get all query values $queryVals = $context->getRequest()->getValues(); foreach ( $queryVals as $query => $val ) { - if ( $query === 'modules' || $query === '*' ) { // &* added as IE fix - continue; + if ( $query === 'modules' || $query === 'version' || $query === '*' ) { + continue; // note: &* added as IE fix } elseif ( $query === 'skin' && $val === $wgDefaultSkin ) { continue; } elseif ( $query === 'lang' && $val === $wgLanguageCode ) {