MediaWiki master
LanguageQqx Class Reference

Dummy language that returns the message names. More...

Inherits Language.

Collaboration diagram for LanguageQqx:

Public Member Functions

 getMessage ( $key)
 

Detailed Description

Dummy language that returns the message names.

For all translated messages, this returns a special value handled in Message::format() to display the message key (and fallback keys) and the parameters passed to the message. This does not affect untranslated messages.

NOTE: It returns a valid title, because there are some poorly written extensions that assume the contents of some messages are valid.

Deprecated
since 1.41. The overridden method is deprecated. The feature has been reimplemented in MessageCache. Callers doing "new LanguageQqx" should use $languageFactory->getLanguage( 'qqx' ) to get a Language object with its code set to qqx.

Definition at line 36 of file LanguageQqx.php.

Member Function Documentation

◆ getMessage()

LanguageQqx::getMessage ( $key)

Definition at line 37 of file LanguageQqx.php.


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