Expand all

abstract ve.ce.MWAlienBlockExtensionNode

Extends

Constructor

new ve.ce.MWAlienBlockExtensionNode(model, [config])abstract #

ContentEditable MediaWiki alien block extension node.

Parameters:

Name Type Attributes Description
model ve.dm.MWAlienBlockExtensionNode

Model to observe

config Object optional

Configuration options

Mixes in:
Source:
ContentEditable MediaWiki alien block extension node.

Methods

onParseError(deferred, response) #

Handle an unsuccessful response from the parser for the wikitext fragment.

Parameters:

Name Type Description
deferred jQuery.Deferred

The promise object created by generateContents

response Object

Response data

Inherited from:
Source:
Handle an unsuccessful response from the parser for the wikitext fragment.

onParseSuccess(deferred, response) #

Handle a successful response from the parser for the wikitext fragment.

Parameters:

Name Type Description
deferred jQuery.Deferred

The Deferred object created by generateContents

response Object

Response data

Inherited from:
Source:
Handle a successful response from the parser for the wikitext fragment.