(bug 25201) Respect $wgCacheEpoch in the resource loader
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 7 Oct 2010 19:35:05 +0000 (19:35 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 7 Oct 2010 19:35:05 +0000 (19:35 +0000)
commit8e65282ff67ebf152ecd4478890eaec6814e6ef3
treeeb26ba7dbe44e75645c0b056b642ec36b20eed0f
parent523b947e01dfb0e15f60e680eed5efe957c77d24
(bug 25201) Respect $wgCacheEpoch in the resource loader
* The mtime of each module is now maxed with $wgCacheEpoch before being used. I chose to make this the caller's responsibility rather than getModifiedTime()'s, otherwise custom modules can (and inevitably will) forget to respect $wgCacheEpoch
* Invalidate message blobs if they're older than $wgCacheEpoch
includes/MessageBlobStore.php
includes/ResourceLoader.php
includes/ResourceLoaderModule.php