Last modified: 2014-02-12 23:45:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T33675, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 31675 - Port MobileFrontend to use ResourceLoader for JS and CSS
Port MobileFrontend to use ResourceLoader for JS and CSS
Status: RESOLVED DUPLICATE of bug 41340
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 38305
  Show dependency treegraph
 
Reported: 2011-10-13 19:34 UTC by Sam Reed (reedy)
Modified: 2014-02-12 23:45 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2011-10-13 19:34:58 UTC
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
Comment 1 Tomasz Finc 2011-10-13 19:58:56 UTC
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.
Comment 2 Sam Reed (reedy) 2011-10-13 20:11:11 UTC
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.
Comment 3 Krinkle 2012-02-29 20:02:45 UTC
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).
Comment 4 Brion Vibber 2012-10-23 17:27:36 UTC
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.
Comment 5 Jon 2012-10-27 00:08:19 UTC
Moving discussion to bug 41340

*** This bug has been marked as a duplicate of bug 41340 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links