Last modified: 2014-02-12 23:45:58 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 T50718, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 48718 - (Tracking) Use mw.loader.using for non essential modules
(Tracking) Use mw.loader.using for non essential modules
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
Feature requests (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 53782
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-22 17:41 UTC by Jon
Modified: 2014-02-12 23:45 UTC (History)
9 users (show)

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


Attachments

Description Jon 2013-05-22 17:41:16 UTC
Currently photo uploads, talk page and soon the editor introduce lots of unnecessary code that not every user will use. Instead we should only load these modules when the user clicks on a button.

For example clicking on talk page for the first time should load the talk page code.
Comment 1 Jon 2013-08-22 20:48:02 UTC
Cleanup template would be a good one to do this on first. We could conditionally load it if an article has issues.
Comment 2 Gerrit Notification Bot 2013-09-11 21:59:39 UTC
Change 83943 had a related patch set uploaded by JGonera:
Load editor conditionally

https://gerrit.wikimedia.org/r/83943
Comment 3 Gerrit Notification Bot 2013-09-11 23:14:38 UTC
Change 83958 had a related patch set uploaded by JGonera:
Load talk overlay dynamically

https://gerrit.wikimedia.org/r/83958
Comment 4 Gerrit Notification Bot 2013-09-12 19:25:15 UTC
Change 84032 had a related patch set uploaded by JGonera:
Load photo uploader dynamically

https://gerrit.wikimedia.org/r/84032
Comment 5 Gerrit Notification Bot 2013-09-20 00:15:39 UTC
Change 83958 merged by jenkins-bot:
Load talk overlay dynamically

https://gerrit.wikimedia.org/r/83958
Comment 6 Gerrit Notification Bot 2013-09-20 18:51:55 UTC
Change 84032 merged by jenkins-bot:
Load photo uploader dynamically

https://gerrit.wikimedia.org/r/84032
Comment 7 Jon 2013-09-20 19:55:18 UTC
I'm marking this as resolved. If there are any other modules that should be lazy loaded, these should be explicitly named and have their own bug.

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


Navigation
Links