Expand all

ext.visualEditor.editCheck.special.widgets

Show the edit check cards on Special:EditChecks.

The cards come from the same code as in the editor, so they always look the same.

Methods

renderAction(action) → {jQuery}inner #

Render an action as a card

Parameters:

Name Type Description
action mw.editcheck.EditCheckAction

Returns:

Type
jQuery
Source:
Render an action as a card

showCheck($container, name, suggestion)inner #

Show a card for each action mode of a check

Parameters:

Name Type Description
$container jQuery
name string

Check name

suggestion boolean
Source:
Show a card for each action mode of a check

showMatchRule($container, ruleId, suggestion) → {Promise}inner #

Show the card for a TextMatch rule

Parameters:

Name Type Description
$container jQuery
ruleId string
suggestion boolean

Returns:

Type
Promise
Source:
Show the card for a TextMatch rule