resourceloader: Add content hash to static debug urls
authorTimo Tijhof <krinklemail@gmail.com>
Fri, 12 Feb 2016 23:33:45 +0000 (00:33 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Sat, 20 Feb 2016 22:40:44 +0000 (22:40 +0000)
commit792054a2a41a321e66e33fda47e9b95c44e87679
treeba58403a7511b668148235a9803a69b7c171948a
parent6b976d825a0997a484b7d3cfcd5788e6a4b7f222
resourceloader: Add content hash to static debug urls

This way, they automatically bypass any stale client or server cache.

Remove an old wfExpandUrl() call that would interfere with
transformResourcePath()'s ability to recognise the path.

Expanding the url there wasn't needed anyway. Whether it's on a separate host
(eg. bits.wikimedia.org), or path-absolute, either way works as-is.

Bug: T90983
Change-Id: I64eb3291adcfc3733ef96690399c09c06e19b3aa
includes/resourceloader/ResourceLoaderFileModule.php