mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 02:23:58 +00:00
Merge "Fix term in valuable data test"
This commit is contained in:
commit
0ba3a37b17
|
@ -386,7 +386,7 @@ ve.dm.MWTemplateModel.prototype.containsValuableData = function () {
|
|||
|
||||
var param = params[ name ],
|
||||
value = param.getValue();
|
||||
return !value &&
|
||||
return value &&
|
||||
// This will automatically be restored, see {@see ve.dm.MWParameterModel.getValue}
|
||||
value !== param.getAutoValue() &&
|
||||
// While this isn't always meaningless, it typically is, and it's easy to restore
|
||||
|
|
Loading…
Reference in a new issue