mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +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 |
||
---|---|---|
.. | ||
actions | ||
commands | ||
contextitems | ||
datatransferhandlers | ||
dialogs | ||
elements | ||
inspectors | ||
pages | ||
styles | ||
themes | ||
tools | ||
widgets | ||
ve.ui.MWCommandRegistry.js | ||
ve.ui.MWDesktopWikitextSurface.js | ||
ve.ui.MWExtensionWindow.js | ||
ve.ui.MWMobileContext.js | ||
ve.ui.MWMobileSurface.js | ||
ve.ui.MWSequenceRegistry.js | ||
ve.ui.MWWikitextCommandRegistry.js | ||
ve.ui.MWWikitextDataTransferHandlerFactory.js | ||
ve.ui.MWWikitextSequenceRegistry.js | ||
ve.ui.MWWikitextTransferRegistry.js |