Expand all

ve.ui.MWMetaDialog

Extends

Constructor

new ve.ui.MWMetaDialog([config]) #

Dialog for editing MediaWiki page information.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Source:
Dialog for editing MediaWiki page information.

Methods

assignEvents() #

Assigns updateActions to all widget updates.

Source:
Assigns updateActions to all widget updates.

compareSettings() → {boolean} #

Source:

Returns:

Whether settings were changed.

Type
boolean

extractSettings() → {Array.<Object>} #

Source:

Returns:

An array of all widgets with their current value. { name:string, value:string|boolean }

Type
Array.<Object>

extractValue(field) → {string|boolean} #

Parameters:

Name Type Description
field Object

Widget

Source:

Returns:

Value of the field

Type
string | boolean

getActionProcess() #

getAllWidgets() → {Array.<Object>} #

Source:

Returns:

An array of objects { widget: OO.ui.Widget, name: string, hasChildren: boolean }

Type
Array.<Object>

getTeardownProcess() #

updateActions() #

Compares oldSetting with new settings and toggles the apply button accordingly.

Source:
Compares oldSetting with new settings and toggles the apply button accordingly.