Last modified: 2014-02-20 18:39:39 UTC
The resource loader module for site details should be invalidated whenever the configuration of sites changes. Otherwise the changes won't be propagated to JavaScript until the resource loader's cache is purged for some other reason.
Some resources in mediawiki have a version number that is included in the URL referenced from the main HTML. When the resource is updated, that version number gets bumped and causes a new URL to be used for the resource, effectively circumventing the stale cache. Is such a system available for resources in general? It seems like it would be useful...
What's the status here?
Closing. Please reopen if this still needs to be done.
Nothing has been done here. Not sure how critical this is.
This isn't critical just because the SiteList does not change that often. But it should definitely be fixed and, from what I see, should be very easy to fix. ResourceLoaderModule provides a whole bunch of nice and very simple methods to do that. I think a combination of getModifiedHash and getModifiedTime is needed. See ResourceLoaderLanguageDataModule for an example and do the same in SitesModule. However, low priority, so I won't take this for now.