mediawiki-extensions-Visual.../modules/ve-mw
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
..
ce Inline many var declarations in the code below 2021-06-23 09:02:24 +00:00
dm Simplify spec code dealing with default values 2021-06-24 18:13:41 +02:00
init Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
preinit Remove @param/@return docs that literally repeat the code 2021-06-14 15:44:51 +02:00
tests Simplify spec code dealing with default values 2021-06-24 18:13:41 +02:00
themes doc: Bump copyright year for 2020 2020-01-08 09:13:24 -08:00
ui Better name for spec.isParameterKnown() method 2021-06-24 18:05:14 +02:00