mediawiki-extensions-Visual.../modules/ve-mw
Thiemo Kreuz a6f784c095 Fix hiding unused template parameters sometimes not working
We ended mixing two concepts in a single method:

* We need a method that allows us to create the parameter list widget
when it's needed, even if it's empty. This is relevant when a template
is entirely empty, and the first parameter is added. This wasn't
working. Instead the parameter list was created with all parameters.

* On initialization we either want all parameters to be shown, or only
used ones. But this code is only needed once, on initialization. I
ended inlining this code in this patch.

Bug: T300640
Bug: T304046
Change-Id: I6620a870e4420dcb8fecf522b3274458eeec891d
2022-03-22 15:41:55 +01:00
..
ce Preserve classes on media wrapper links 2022-03-10 10:41:14 -05:00
dm Preserve classes on broken media elements 2022-03-21 17:42:39 -04:00
init Set desktop context / inspector padding to -10px in vector-2022 2022-03-19 13:47:39 +00:00
preinit Follow-up I560d8080: Fix getTargetDataFromHref to work with different wiki configs 2022-03-10 01:10:45 +00:00
tests Preserve classes on broken media elements 2022-03-21 17:42:39 -04:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui Fix hiding unused template parameters sometimes not working 2022-03-22 15:41:55 +01:00