MediaWiki  1.33.0
MessageSpecifier Interface Reference
Inheritance diagram for MessageSpecifier:

Public Member Functions

 getKey ()
 Returns the message key. More...
 
 getParams ()
 Returns the message parameters. More...
 

Detailed Description

Definition at line 21 of file MessageSpecifier.php.

Member Function Documentation

◆ getKey()

MessageSpecifier::getKey ( )

Returns the message key.

If a list of multiple possible keys was supplied to the constructor, this method may return any of these keys. After the message has been fetched, this method will return the key that was actually used to fetch the message.

Returns
string

Implemented in Wikimedia\Rdbms\DBExpectedError, and Wikimedia\Rdbms\DBTransactionSizeError.

Referenced by ApiErrorFormatter\formatRawMessage(), and wfStreamThumb().

◆ getParams()

MessageSpecifier::getParams ( )

Returns the message parameters.

Returns
array

Implemented in Wikimedia\Rdbms\DBExpectedError.

Referenced by ApiErrorFormatter\formatRawMessage().


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