mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-17 11:23:03 +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 |
||
---|---|---|
.. | ||
models | ||
nodes | ||
ve.dm.Converter.test.js | ||
ve.dm.Document.test.js | ||
ve.dm.mwExample.js | ||
ve.dm.MWImageModel.test.js | ||
ve.dm.MWInternalLinkAnnotation.test.js | ||
ve.dm.MWTemplateModel.test.js | ||
ve.dm.MWTransclusionModel.test.js | ||
ve.dm.SurfaceFragment.test.js |