MediaWiki REL1_39
MediaWiki\Widget\TitlesMultiselectWidget Class Reference

Widget to select multiple titles. More...

Inheritance diagram for MediaWiki\Widget\TitlesMultiselectWidget:
Collaboration diagram for MediaWiki\Widget\TitlesMultiselectWidget:

Public Member Functions

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

Protected Member Functions

 getJavaScriptClassName ()
 

Protected Attributes

 $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.

Note
2017 MediaWiki Widgets Team and others; see AUTHORS.txt
MIT

Definition at line 11 of file TitlesMultiselectWidget.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Widget\TitlesMultiselectWidget::__construct ( array $config = [])
Parameters
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

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 22 of file TitlesMultiselectWidget.php.

Member Function Documentation

◆ getConfig()

MediaWiki\Widget\TitlesMultiselectWidget::getConfig ( & $config)

◆ getJavaScriptClassName()

MediaWiki\Widget\TitlesMultiselectWidget::getJavaScriptClassName ( )
protected

Reimplemented from MediaWiki\Widget\TagMultiselectWidget.

Definition at line 36 of file TitlesMultiselectWidget.php.

Member Data Documentation

◆ $excludeDynamicNamespaces

MediaWiki\Widget\TitlesMultiselectWidget::$excludeDynamicNamespaces = null
protected

◆ $showMissing

MediaWiki\Widget\TitlesMultiselectWidget::$showMissing = null
protected

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