mediawiki-extensions-Visual.../modules
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
..
ve-mw Remove redundant "choose" event handler 2022-08-30 12:23:07 +02:00
ve-mw-collab Pass empty string to unused argument of pushState/replaceState 2022-08-09 13:37:34 +01:00
.eslintrc.json eslint: Lint root files with server rules 2022-03-17 23:39:53 +00:00