MediaWiki  REL1_31
WebInstallerLanguage Class Reference
Inheritance diagram for WebInstallerLanguage:
Collaboration diagram for WebInstallerLanguage:

Public Member Functions

 execute ()
 getLanguageSelector ( $name, $label, $selectedCode, $helpHtml='')
 Get a "<select>" for selecting languages. More...
- Public Member Functions inherited from WebInstallerPage
 __construct (WebInstaller $parent)
 addHTML ( $html)
 endForm ( $continue='continue', $back='back')
 getName ()
 getVar ( $var, $default=null)
 isSlow ()
 Is this a slow-running page in the installer? If so, WebInstaller will set_time_limit(0) before calling execute(). More...
 setVar ( $name, $value)
 startForm ()

Additional Inherited Members

- Public Attributes inherited from WebInstallerPage
WebInstaller $parent
 The WebInstaller object this WebInstallerPage belongs to. More...
- Protected Member Functions inherited from WebInstallerPage
 endLiveBox ()
 Opposite to WebInstallerPage::startLiveBox. More...
 getFieldsetEnd ()
 Get the end tag of a fieldset. More...
 getFieldsetStart ( $legend)
 Get the starting tags of a fieldset. More...
 getId ()
 startLiveBox ()
 Opens a textarea used to display the progress of a long operation. More...

Detailed Description

Definition at line 22 of file WebInstallerLanguage.php.

Member Function Documentation

◆ execute()

◆ getLanguageSelector()

WebInstallerLanguage::getLanguageSelector (   $name,
  $helpHtml = '' 

Get a "<select>" for selecting languages.


Definition at line 100 of file WebInstallerLanguage.php.

References $code, $lang, $languages, $name, $output, $wgExtraLanguageCodes, as, Language\fetchLanguageNames(), LanguageCode\getDeprecatedCodeMapping(), and global.

Referenced by execute().

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