mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Fix a few risky places for a multi-valued rel attributes 2022-08-23 15:21:41 +02:00
dm Fix a few risky places for a multi-valued rel attributes 2022-08-23 15:21:41 +02:00
init Merge "Limit toolbar top border fix to vector-legacy" 2022-08-17 03:39:24 +00:00
preinit Merge "Don't send missing $wgVisualEditorTabMessages to the browser" 2022-08-26 18:57:07 +00:00
tests Merge "Add a checkbox to use the image caption as the alt text for galleries" 2022-07-26 20:00:48 +00:00
themes Remove obsolete "search for a parameter" page and widgets 2022-06-17 10:23:00 +02:00
ui Remove redundant "choose" event handler 2022-08-30 12:23:07 +02:00