mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
8f9093ea07
The API gives us normalisation information about all titles, including titles of which it couldn't provide any template data. Spec storage should only have properties with valid values (has property means to have a valid value, like database). The absence of this check was causing it to turn this: { pages: { 'Template:Unsigned': { params: { .. } } }, normalised: [ { from: 'foo bar', to: 'Foo_bar' }, { from: 'template: unsigned', to: 'Template:Unsigned' } ] } into: { pages: { 'foo bar': undefined }, normalised: [ { from: 'foo bar', to: 'Foo_bar' } ] } Bug: 49493 Change-Id: I0b661744d0388345561897c9631f15e691737031 |
||
---|---|---|
.. | ||
ve.dm.MWTemplateModel.js | ||
ve.dm.MWTemplateParameterModel.js | ||
ve.dm.MWTemplatePlaceholderModel.js | ||
ve.dm.MWTemplateSpecModel.js | ||
ve.dm.MWTransclusionContentModel.js | ||
ve.dm.MWTransclusionModel.js | ||
ve.dm.MWTransclusionPartModel.js |