Expand all

abstract ve.ui.MWExtensionInspector

Extends

Constructor

new ve.ui.MWExtensionInspector([config])abstract #

Inspector for editing generic MediaWiki extensions.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Mixes in:
Source:
Inspector for editing generic MediaWiki extensions.

Properties

allowedEmpty #

Extension is allowed to have empty contents

Properties:

Type Description
boolean
Mixes in:
Source:
Extension is allowed to have empty contents

dir #

Inspector's directionality, 'ltr' or 'rtl'

Leave as null to use the directionality of the current fragment.

Properties:

Type Description
string | null
Mixes in:
Source:

Inspector's directionality, 'ltr' or 'rtl'

Leave as null to use the directionality of the current fragment.

selfCloseEmptyBody #

Tell Parsoid to self-close tags when the body is empty

i.e. <foo></foo> -> <foo/>

Properties:

Type Description
boolean
Mixes in:
Source:

Tell Parsoid to self-close tags when the body is empty

i.e.

Methods