This is especially useful for mobile devices, but CSS and JS files should be retrieved by using the ResourceLoader, so it gets minimised among other things
Version: unspecified
Severity: enhancement
This is especially useful for mobile devices, but CSS and JS files should be retrieved by using the ResourceLoader, so it gets minimised among other things
Version: unspecified
Severity: enhancement
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T40305 Video files are broken on most mobile browsers | |||
Resolved | None | T33675 Port MobileFrontend to use ResourceLoader for JS and CSS |
Wed love to use it as it has the cache expiry features that we need. But unfortunately RL requires jQuery which weve removed from our mobile site since its too big to send over slow networks. If we could make RS not depend on jQuery then wed happily try it.
I wonder if there is way to maybe write some RL sub modules to cater for the way that Mobile works, removing the jQuery dependencies. Then it can either go into core, or into MF
I can't see this being much work. I've CC'd Roan, but he gets all bugspam anyway. I'll speak to him in NOLA and see what he thinks.
I spoke with Tomasz the other day and from that I gathered the current plan is to do port MobileFrontend to ResourceLoader, but still keep an alternate mode where no JavaScript is loaded at all (which would be used by devices that either don't support JavaScript or don't support it enough to properly run jQuery and MediaWiki libraries).
This is partially done now; in beta mode we enable ResourceLoader with the 'mobile' target but not all of MF's items are loaded this way yet.
Moving discussion to bug 41340