mediawiki-extensions-Visual.../modules/ve-mw/tests/ui/widgets
Thiemo Kreuz 66f56f6c88 Defer creating template parameter search when it's not needed
From the user's perspective this is the same as before: When a
template doesn't have any parameters, there is no search field. The
moment the first (undocumented) parameter is added the search field
appears.

This is just delayed now. The widgets are only created the moment
they are actually needed.

This saves loading time and memory, especially in a multi-part
transclusion with many zero-parameter templates.

This also makes it a lot easier to change the minimal number of
parameters from 1 to e.g. 4.

Includes reverting the flexible header composition done in
Ib050e30a50ef965c1524e977d3a600c3ff836774

Bug: T298259
Change-Id: Ied7541d8d5c0b478a439dd31ce072e634287f181
2022-01-19 11:23:34 +01:00
..
ve.ui.MWParameterCheckboxInputWidget.test.js Consistent use of .forEach() in QUnit tests 2021-09-07 14:27:25 +02:00
ve.ui.MWParameterSearchWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTemplateTitleInputWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlineButtonWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlineParameterSelectWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlineParameterWidget.test.js assert.ok -> assert.true 2021-11-09 00:30:20 +00:00
ve.ui.MWTransclusionOutlinePartWidget.test.js More meaningful assertions for all outline part widgets 2021-08-24 13:17:16 +02:00
ve.ui.MWTransclusionOutlinePlaceholderWidget.test.js More meaningful assertions for all outline part widgets 2021-08-24 13:17:16 +02:00
ve.ui.MWTransclusionOutlineTemplateWidget.test.js Defer creating template parameter search when it's not needed 2022-01-19 11:23:34 +01:00
ve.ui.MWTransclusionOutlineWidget.test.js Remove obsolete performance bottleneck from TransclusionModel 2021-12-06 17:36:53 +00:00