mediawiki-extensions-Visual.../modules/ve-mw/ui
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
..
actions
commands Use no-jquery/no-html to warn against writing HTML strings to the DOM 2021-12-16 01:28:42 +00:00
contextitems Use no-jquery/no-html to warn against writing HTML strings to the DOM 2021-12-16 01:28:42 +00:00
datatransferhandlers
dialogs Confirm before closing template dialog 2022-01-12 10:47:21 +01:00
elements Revert "Hide more button on parameter descriptions for screen readers" 2021-12-09 10:10:53 +01:00
inspectors Prefere ve.extendObject over $.extend 2021-11-15 21:30:19 +00:00
pages Fix positioning of the "add parameter" button on mobile 2022-01-13 15:18:40 +01:00
styles Defer creating template parameter search when it's not needed 2022-01-19 11:23:34 +01:00
tools Use no-jquery/no-html to warn against writing HTML strings to the DOM 2021-12-16 01:28:42 +00:00
widgets Defer creating template parameter search when it's not needed 2022-01-19 11:23:34 +01:00
ve.ui.MWAriaDescribe.js Make better use of the ARIA mixin 2021-11-18 15:21:47 +00:00
ve.ui.MWCommandRegistry.js
ve.ui.MWExtensionWindow.js
ve.ui.MWSequenceRegistry.js
ve.ui.MWSurface.js Add mw-show-empty-elt to MW surfaces 2021-11-19 16:08:53 +00:00
ve.ui.MWWikitextCommandRegistry.js
ve.ui.MWWikitextDataTransferHandlerFactory.js
ve.ui.MWWikitextSequenceRegistry.js
ve.ui.MWWikitextSurface.js Override default source mode font in placeholders too 2021-09-09 22:30:38 +02:00
ve.ui.MWWikitextTransferRegistry.js