mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-22 02:53:04 +00:00
793a1364aa
Change-Id: Ie9d7010a1a0ee6a5c570d4fd6988fc876afdb9e2
17 lines
480 B
JavaScript
17 lines
480 B
JavaScript
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 );
|
|
};
|