mw.widgets.ComplexTitleInputWidget

Like TitleInputWidget, but the namespace has to be input through a separate dropdown field.

Extends

Constructor

new mw.widgets.ComplexTitleInputWidget(config) #

Create an instance of mw.widgets.ComplexTitleInputWidget.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Properties:
Name Type Description
namespace Object

Configuration for the NamespaceInputWidget dropdown with list of namespaces

title Object

Configuration for the TitleInputWidget text field

Source:

Methods

updateTitleNamespace() #

Update the namespace to use for search suggestions of the title when the value of namespace dropdown changes.

Source:

Update the namespace to use for search suggestions of the title when the value of namespace dropdown changes.