MediaWiki REL1_30
MessageLocalizer Interface Reference

Interface for localizing messages in MediaWiki. More...

Inheritance diagram for MessageLocalizer:

Public Member Functions

 msg ( $key)
 This is the method for getting translated interface messages.
 

Detailed Description

Interface for localizing messages in MediaWiki.

Since
1.30

Definition at line 28 of file MessageLocalizer.php.

Member Function Documentation

◆ msg()

MessageLocalizer::msg ( $key)

This is the method for getting translated interface messages.

See also
https://www.mediawiki.org/wiki/Manual:Messages_API
Message::__construct
Parameters
string | string[] | MessageSpecifier$keyMessage key, or array of keys, or a MessageSpecifier.
mixed$params,...Normal message parameters
Returns
Message

Implemented in Action, ContextSource, DerivativeContext, RequestContext, ResourceLoaderContext, and SpecialPage.

Referenced by ApiFormatBase\closePrinter(), ApiHelp\getHelp(), ApiHelp\getHelpInternal(), ChangesList\showCharacterDifference(), and LogEventsList\showLogExtract().


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