mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-17 03:18:48 +00:00
8f6098c03b
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 |
||
---|---|---|
.. | ||
annotations | ||
metaitems | ||
models | ||
nodes | ||
.eslintrc.json | ||
ve.dm.MWWikitextSurface.js | ||
ve.dm.MWWikitextSurfaceFragment.js |