this.namePrefix = config.namePrefix || 'item_';
this.name = this.namePrefix + param;
- this.useDefaultAsBaseValue = !!config.useDefaultAsBaseValue;
this.label = config.label || this.name;
this.labelPrefixKey = config.labelPrefixKey;
this.description = config.description || '';
return this.identifiers;
};
- /**
- * Check whether the item uses its default state as a base value
- *
- * @return {boolean} Use default as base value
- */
- mw.rcfilters.dm.ItemModel.prototype.isUsingDefaultAsBaseValue = function () {
- return this.useDefaultAsBaseValue;
- };
-
/**
* Toggle the highlight feature on and off for this filter.
* It only works if highlight is supported for this filter.