Last modified: 2011-07-18 16:06:49 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 T31932, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29932 - Allow disabling of nonessential parts of window.mediaWiki
Allow disabling of nonessential parts of window.mediaWiki
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-17 13:08 UTC by Yair Rand
Modified: 2011-07-18 16:06 UTC (History)
1 user (show)

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


Attachments

Description Yair Rand 2011-07-17 13:08:03 UTC
Wikis should be able to disable loading of parts of the mediaWiki/mw javascript library. When a wiki has no use for part of it, there's no reason to slow down loading to load an unneeded pile of javascript. (And in the case of some of the parts of mw, they're pretty much always loaded pointlessly; I still haven't been able to figure out a possible way mw.html.element could be useful...)
Comment 1 Brion Vibber 2011-07-18 16:06:49 UTC
What we'd expect to do is that if there are portions of the library that are too big and rarely used, they should be split off to separate modules that only need to be loaded when used.

This would be general ongoing development work. mw.html.element is ... not particularly long, so likely would not qualify.

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


Navigation
Links