Expand all

ve.ui.MWAdvancedSettingsPage

Extends

Constructor

new ve.ui.MWAdvancedSettingsPage(name, [config]) #

MediaWiki meta dialog advanced settings page.

Parameters:

Name Type Attributes Description
name string

Unique symbolic name of page

config Object optional

Configuration options

Properties:
Name Type Attributes Description
$overlay jQuery optional

Overlay to render dropdowns in

Source:
MediaWiki meta dialog advanced settings page.

Methods

getMetaItem(name) → {Object|null} #

Get the first meta item of a given name

Parameters:

Name Type Description
name string

Name of the meta item

Source:

Returns:

Meta item, if any

Type
Object | null
Get the first meta item of a given name

onDisplayTitleInputChange(value) #

Handle display title input change events.

Parameters:

Name Type Description
value string

Current value of input widget

Source:
Handle display title input change events.

onIndexingOptionChange() #

Handle indexing option state change events.

Source:
Handle indexing option state change events.

onNewSectionEditLinkOptionChange() #

Handle new edit section link change events.

Source:
Handle new edit section link change events.

setup(fragment, config) → {jQuery.Promise} #

Setup settings page.

Parameters:

Name Type Description
fragment ve.dm.SurfaceFragment

Surface fragment

config Object
Properties:
Name Type Attributes Default Description
data Object optional

Dialog setup data

isReadOnly boolean optional
false

Dialog is in read-only mode

Source:

Returns:

Type
jQuery.Promise
Setup settings page.

teardown([data]) #

Tear down settings page.

Parameters:

Name Type Attributes Description
data Object optional

Dialog tear down data

Source:
Tear down settings page.