MediaWiki master
|
Inherited by MediaWiki\Api\IApiMessage, MediaWiki\Message\Message, Wikimedia\Message\MessageValue, and Wikimedia\Rdbms\DBExpectedError.
Public Member Functions | |
getKey () | |
Returns the message key. | |
getParams () | |
Returns the message parameters. | |
Definition at line 26 of file MessageSpecifier.php.
Wikimedia\Message\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 MediaWiki\Message\Message, MediaWiki\Language\RawMessage, Wikimedia\Message\MessageValue, Wikimedia\Rdbms\DBExpectedError, Wikimedia\Rdbms\DBQueryTimeoutError, and Wikimedia\Rdbms\DBTransactionSizeError.
Referenced by MediaWiki\FileRepo\ThumbnailEntryPoint\generateThumbnail(), MediaWiki\Permissions\PermissionManager\getPermissionErrors(), StatusValue\hasMessage(), Wikimedia\Message\MessageValue\newFromSpecifier(), and StatusValue\replaceMessage().
Wikimedia\Message\MessageSpecifier::getParams | ( | ) |
Returns the message parameters.
Implemented in MediaWiki\Message\Message, MediaWiki\Language\RawMessage, Wikimedia\Message\MessageValue, and Wikimedia\Rdbms\DBExpectedError.
Referenced by Wikimedia\Message\MessageValue\newFromSpecifier().