mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
337ee1588e
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 |
||
---|---|---|
.. | ||
ce | ||
dm | ||
init | ||
preinit | ||
tests | ||
themes | ||
ui |