Expand all

abstract mw.libs.ve.MWEditModeTool

Extends

Constructor

new mw.libs.ve.MWEditModeTool(toolGroup, [config])abstract #

Parameters:

Name Type Attributes Description
toolGroup OO.ui.ToolGroup
config Object optional

Config options

Source:
MediaWiki edit mode tool.

Methods

getMode() → {string} #

Get current edit mode

Source:

Returns:

Current edit mode

Type
string
Get current edit mode

isModeAvailable(Edit) → {boolean} #

Check if edit mode is available

Parameters:

Name Type Description
Edit string

mode

Source:

Returns:

Edit mode is available

Type
boolean
Check if edit mode is available

switch() #

Switch editors