mediawiki-extensions-Visual.../modules/ve-mw/tests/dm
Thiemo Kreuz 8f6098c03b Simplify spec code dealing with default values
The idea is to not actually store all these default values, but
fall back to the default only when needed.

Some more details:
* The only remaining property is ….name. The only reason to
  have this property is to distinguish between aliases and
  primary parameter names. This will be reworked in a later
  patch.
* The description falls back to null because this is the
  documented fallback, not undefined.
* The default value falls back to "", same as the auto-value.
  Why not null you might ask. This is intentional. Both the
  auto- and default value are effectively wikitext snippets,
  while the example is a label in the VE UI.

Bug: T285483
Change-Id: I1be3cca18f9ad6fc1c16362b24633f7613f02539
2021-06-24 18:13:41 +02:00
..
models Simplify spec code dealing with default values 2021-06-24 18:13:41 +02:00
nodes Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.Converter.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.Document.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.mwExample.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.MWImageModel.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.MWInternalLinkAnnotation.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.MWTemplateModel.test.js Revert "Revert "Fall back from explicit parameter order to TemplateData sort"" 2021-06-23 16:39:13 +02:00
ve.dm.MWTransclusionModel.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00
ve.dm.SurfaceFragment.test.js Update more test code to use ES6 syntax 2021-04-30 10:08:45 +00:00