MediaWiki master
MessageSpecifier Interface Reference

Inherited by IApiMessage, MediaWiki\Message\Message, and Wikimedia\Rdbms\DBExpectedError.

Public Member Functions

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

Detailed Description

Stability: stable
for implementing

Definition at line 24 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.


Implemented in Wikimedia\Rdbms\DBExpectedError, Wikimedia\Rdbms\DBQueryTimeoutError, Wikimedia\Rdbms\DBTransactionSizeError, and MediaWiki\Message\Message.

Referenced by MediaWiki\Message\Converter\convertMessage(), MediaWiki\FileRepo\ThumbnailEntryPoint\generateThumbnail(), StatusValue\hasMessage(), and StatusValue\replaceMessage().

◆ getParams()

MessageSpecifier::getParams ( )

Returns the message parameters.


Implemented in Wikimedia\Rdbms\DBExpectedError, and MediaWiki\Message\Message.

Referenced by MediaWiki\Message\Converter\convertMessage().

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