Expand all

mw.editcheck.TextMatchEditCheckAction

Constructor

new mw.editcheck.TextMatchEditCheckAction(config) #

TextMatchEditCheckAction

Subclass of EditCheckAction to include information about the matchItem associated with this action

Parameters:

Name Type Description
config Object

Configuration options

Properties:
Name Type Description
matchItem Object

the associated matchItem for this action

term string

term that prompted the action

Source:

TextMatchEditCheckAction

Subclass of EditCheckAction to include information about the matchItem associated with this action

Methods

equals(other, …args) → {boolean} #

Compare to another action

Parameters:

Name Type Attributes Description
other mw.editcheck.EditCheckAction

Other action

args any repeatable
Source:

Returns:

Type
boolean
Compare to another action

getName() → {string} #

Get the name of the check type

Source:

Returns:

Check type name

Type
string
Get the name of the check type

getTagName() → {string} #

Get unique tag name for this action

Source:

Returns:

unique tag

Type
string
Get unique tag name for this action