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} #

Returns:

Whether settings were changed.

Type
boolean
Source:

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

Returns:

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

Type
Array.<Object>
Source:

extractValue(field) → {string|boolean} #

Parameters:

Name Type Description
field Object

Widget

Returns:

Value of the field

Type
string | boolean
Source:

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

Returns:

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

Type
Array.<Object>
Source:

updateActions() #

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

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