mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
a811168c2a
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 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-wmf/i18n |