MediaWiki REL1_35
MediaWiki\Hook\LanguageSelectorHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\LanguageSelectorHook:

Public Member Functions

 onLanguageSelector ( $out, $cssClassName)
 Use this hook to change the language selector available on a page.
 

Detailed Description

Stable to implement.

Definition at line 11 of file LanguageSelectorHook.php.

Member Function Documentation

◆ onLanguageSelector()

MediaWiki\Hook\LanguageSelectorHook::onLanguageSelector (   $out,
  $cssClassName 
)

Use this hook to change the language selector available on a page.

Since
1.35
Parameters
OutputPage$outThe output page.
string$cssClassNameCSS class name of the language selector.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


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