mediawiki-extensions-Visual.../editcheck/modules/EditCheckAction.js

17 lines
480 B
JavaScript
Raw Normal View History

mw.editcheck.EditCheckAction = function MWEditCheckAction( config ) {
this.check = config.check;
this.highlights = config.highlights;
this.selection = config.selection;
this.message = config.message;
};
OO.initClass( mw.editcheck.EditCheckAction );
mw.editcheck.EditCheckAction.prototype.getChoices = function () {
return this.check.getChoices( this );
};
mw.editcheck.EditCheckAction.prototype.getDescription = function () {
return this.check.getDescription( this );
};