Expand all

abstract ve.ce.MWInlineExtensionNode

Extends

Constructor

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

ContentEditable MediaWiki inline extension node.

Parameters:

Name Type Attributes Description
model ve.dm.MWInlineExtensionNode

Model to observe

config Object optional

Configuration options

Source:
ContentEditable MediaWiki inline 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

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