MediaWiki  1.30.0
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...
 

Detailed Description

Definition at line 22 of file WebInstallerLanguage.php.

Member Function Documentation

◆ execute()

WebInstallerLanguage::execute ( )
Returns
string|null

Definition at line 27 of file WebInstallerLanguage.php.

References $languages, $s, $wgLang, Language\fetchLanguageNames(), getLanguageSelector(), global, and Html\hidden().

◆ getLanguageSelector()

WebInstallerLanguage::getLanguageSelector (   $name,
  $label,
  $selectedCode,
  $helpHtml = '' 
)

Get a "<select>" for selecting languages.

Parameters
string$name
string$label
string$selectedCode
string$helpHtml
Returns
string

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: