mediawiki-extensions-Visual.../modules/ve-mw/ui
Thiemo Kreuz 337ee1588e Remove redundant "choose" event handler
I'm pretty sure this extra call is just pointless. This "choose"
event is triggered every time a new parameter is added to the list of
parameters. But there is another code path that is triggered in the
exact same situations: the onReplacePart event handler.

As far as I remember this "choose" handler was added very early when
the other events haven't been implemented yet.

This should be fairly easy to test. The only situation where this
could make a difference is:
1. When you have a template with 3 parameters and you add a 4th
   parameter.
2. When you edit an existing multi-part transclusion that contains a
   lot of parameters, but the parameters are initially hidden. The
   widgets are only created when you click "show all" or start
   searching.

Change-Id: I59e3873a4fe6fa5a01d681fce89fbe00756ae815
2022-08-30 12:23:07 +02:00
..
actions Use new config option signature when building sequences 2022-03-11 17:12:54 +00:00
commands Move var declarations inline 2022-03-01 17:50:24 +00:00
contextitems Use @type instead of @var for JavaScript variable 2022-07-12 11:18:27 +00:00
datatransferhandlers Move var declarations inline 2022-03-01 17:50:24 +00:00
dialogs Dynamically calculate height of toolbar sticky headers 2022-08-18 17:59:03 +02:00
elements Code cleanup in ExpandableContentElement 2022-08-15 08:40:11 +00:00
inspectors Increase default debounce of live extension inspector/dialog to 1000ms 2022-07-14 17:14:37 +01:00
layouts Don't focus template input fields (and open keyboard) on mobile 2022-08-28 14:26:29 +00:00
pages Merge "Rename value state variable" 2022-08-05 09:23:08 +00:00
styles ve.ui.MWTargetWidget: Remove top margin in Vector 2022 2022-08-11 14:27:53 +01:00
tools Use surface's cancel command to close the editor 2022-06-15 19:24:21 +00:00
widgets Remove redundant "choose" event handler 2022-08-30 12:23:07 +02:00
ve.ui.MWAriaDescribe.js Make better use of the ARIA mixin 2021-11-18 15:21:47 +00:00
ve.ui.MWCommandRegistry.js Add command to insert non-breaking space 2021-04-08 00:09:35 +02:00
ve.ui.MWExtensionWindow.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWSequenceRegistry.js Use new config option signature when building sequences 2022-03-11 17:12:54 +00:00
ve.ui.MWSurface.js Add mw-show-empty-elt to MW surfaces 2021-11-19 16:08:53 +00:00
ve.ui.MWWikitextCommandRegistry.js Use boolean RegExp.test() instead of .match() where possible 2022-03-24 11:04:43 +01:00
ve.ui.MWWikitextDataTransferHandlerFactory.js Move var declarations inline 2022-03-01 17:50:24 +00:00
ve.ui.MWWikitextSequenceRegistry.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ve.ui.MWWikitextSurface.js Override default source mode font in placeholders too 2021-09-09 22:30:38 +02:00
ve.ui.MWWikitextTransferRegistry.js doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00