mediawiki-extensions-Visual.../modules/ve-mw
Bartosz Dziewoński a811168c2a ve.ui.MWParameterPage: Restructure constructor to reduce needless work
We were constructing a lot of widgets, and never using them all
(they were forever hidden or not even appended to DOM). For large
transclusions this was causing a noticeable performance hit.

I don't think this quite resolves T134814, but it should improve the
situation.

* this.rawFallbackButton is now constructed and appended only when needed.
* this.removeButton is now constructed and appended only when needed.
* this.infoButton can now be a PopupButtonWidget or a disabled ButtonWidget.

Bug: T134814
Change-Id: I2ea00a88a1ea22b73b0c6d10334a94f45734ec3b
2016-12-27 23:54:49 +00:00
..
ce build: Bump eslint-config-wikimedia to v0.3.0 and make pass 2016-11-15 15:05:05 -08:00
dm Use deep clone for empty convertFromSource 2016-12-14 22:09:25 +00:00
i18n Localisation updates from https://translatewiki.net. 2016-12-26 22:42:30 +01:00
init Merge "Preserve checkbox data when switching from VE to NWE" 2016-12-22 12:37:37 +00:00
tests Use upstream media search widget from core 2016-11-29 17:19:14 +00:00
themes
ui ve.ui.MWParameterPage: Restructure constructor to reduce needless work 2016-12-27 23:54:49 +00:00
ve.MWutils.js