In Wikimedia production this tends to contain the branch name,
which causes the version to change for no reason after a MediaWiki
deployment. For example:
["remoteBasePath"]=>
string(43) "https://test.wikipedia.org/static/1.26wmf19"
Bug: T102578
Change-Id: I50b8afd72183cae875d4aaa0aaf0da4e7d664284
$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',
'group',
'position',
'skipFunction',
- 'remoteBasePath',
'debugRaw',
'raw',
) as $member ) {