Expand all

ve.ui.MWNoticesPopupTool

Extends

Constructor

new ve.ui.MWNoticesPopupTool(toolGroup, [config]) #

MediaWiki UserInterface notices popup tool.

Parameters:

Name Type Attributes Description
toolGroup OO.ui.ToolGroup
config Object optional
Source:
MediaWiki UserInterface notices popup tool.

Methods

getTitle() #

Get the tool title.

Source:
Get the tool title.

onPopupClosing() #

Handle to call when popup is closing

Inherited from:
Source:
Handle to call when popup is closing

onPopupOpened() #

Handle to call when popup is opened.

Inherited from:
Source:
Handle to call when popup is opened.

onToolLinkClick(e) #

Handle clicks on the main tool button.

Parameters:

Name Type Description
e jQuery.Event

Click event

Inherited from:
Source:
Handle clicks on the main tool button.

setNotices(notices) #

Set notices to display

Parameters:

Name Type Description
notices Array.<string>

A (non-empty) list of notices

Source:
Set notices to display