Expand all

ve.ce.MWTransclusionInlineNode

Extends

Constructor

new ve.ce.MWTransclusionInlineNode(model) #

ContentEditable MediaWiki transclusion inline node.

Parameters:

Name Type Description
model ve.dm.MWTransclusionInlineNode

Model to observe

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

render() #

Extend the ve.ce.GeneratedContentNode render method to check for hidden templates.

Check if the final result of the imported template is empty.

Inherited from:
Source:
Extend the ve.ce.GeneratedContentNode render method to check for hidden templates.