Extends
Constructor
new ve.ce.MWExtensionNode()abstract
#
Hierarchy
Children
ContentEditable MediaWiki extension node.
Configuration options for .update():
- extsrc: override the contents of the tag (string)
- attrs: override the attributes of the tag (object)
ContentEditable MediaWiki extension node.
Properties
rendersEmptystatic
#
Extension renders visible content when empty
Properties:
Type | Description |
---|---|
boolean |
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 |
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 |
Handle a successful response from the parser for the wikitext fragment.