Expand all

abstract ve.ce.MWExtensionNode

Extends

Constructor

new ve.ce.MWExtensionNode()abstract #

ContentEditable MediaWiki extension node.

Configuration options for .update():

  • extsrc: override the contents of the tag (string)
  • attrs: override the attributes of the tag (object)
Mixes in:
Source:
ContentEditable MediaWiki extension node.

Properties

rendersEmptystatic #

Extension renders visible content when empty

Properties:

Type Description
boolean
Source:
Extension renders visible content when empty

Methods

generateContents() #

getRenderedDomElements() #

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

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

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