X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fresourceloader%2FResourceLoaderFileModule.php;h=3224b13523c83d126e4c1d88efba6c7f1f9bc9f4;hb=98479165b084c03b6b845961a00a80ff593a244f;hp=efb151e346475076f22604c5285ba145979d1550;hpb=4d0dd38e91d6a2308f41329bfd89fb0c186e5260;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/resourceloader/ResourceLoaderFileModule.php b/includes/resourceloader/ResourceLoaderFileModule.php index efb151e346..3224b13523 100644 --- a/includes/resourceloader/ResourceLoaderFileModule.php +++ b/includes/resourceloader/ResourceLoaderFileModule.php @@ -591,9 +591,10 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { $options = array(); foreach ( array( - // T104950: Do not include localBasePath! That path may vary over time and needlessly - // invalidate cache. If the path changes in a way that makes relative file paths point - // to something else, getFileHashes() will incorporate that already. + // T104950: Do not include localBasePath or remoteBasePath! + // Those paths may vary over time and needlessly invalidate cache. If the path changes + // in a way that makes relative file paths point to something else, getFileHashes() will + // account for that already. 'scripts', 'debugScripts', 'loaderScripts', @@ -608,7 +609,6 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { 'group', 'position', 'skipFunction', - 'remoteBasePath', 'debugRaw', 'raw', ) as $member ) {