MediaWiki master
MediaWiki\Widget\TitlesMultiselectWidget Class Reference

Widget to select multiple titles. More...

Inherits MediaWiki\Widget\TagMultiselectWidget.

Collaboration diagram for MediaWiki\Widget\TitlesMultiselectWidget:

Public Member Functions

 __construct (array $config=[])
 getConfig (&$config)

Protected Member Functions

 getJavaScriptClassName ()

Protected Attributes

 $allowEditTags = null
 $excludeDynamicNamespaces = null
 $showMissing = null
- Protected Attributes inherited from MediaWiki\Widget\TagMultiselectWidget
bool $allowArbitrary
string[] null $allowedValues
array $input
string null $inputName
string null $inputPlaceholder
array $selectedArray
int null $tagLimit

Detailed Description

Widget to select multiple titles.

2017 MediaWiki Widgets Team and others; see AUTHORS.txt

Definition at line 11 of file TitlesMultiselectWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\TitlesMultiselectWidget::__construct ( array $config = [])
array$configConfiguration options
  • bool $config['showMissing'] Show missing pages in the typeahead dropdown (ie. allow adding pages that don't exist)
  • bool $config['excludeDynamicNamespaces'] Exclude pages in negative namespaces
  • bool $config['allowEditTags'] Allow editing of the tags by clicking them

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 24 of file TitlesMultiselectWidget.php.

Member Function Documentation

◆ getConfig()

◆ getJavaScriptClassName()

MediaWiki\Widget\TitlesMultiselectWidget::getJavaScriptClassName ( )

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 41 of file TitlesMultiselectWidget.php.

Member Data Documentation

◆ $allowEditTags

MediaWiki\Widget\TitlesMultiselectWidget::$allowEditTags = null

◆ $excludeDynamicNamespaces

MediaWiki\Widget\TitlesMultiselectWidget::$excludeDynamicNamespaces = null

◆ $showMissing

MediaWiki\Widget\TitlesMultiselectWidget::$showMissing = null

The documentation for this class was generated from the following file: