MediaWiki 1.42.0
|
Interface for localizing messages in MediaWiki. More...
Inherited by Action, MediaWiki\Language\LocalizationContext, MediaWiki\ResourceLoader\Context, and MediaWiki\SpecialPage\SpecialPage.
Public Member Functions | |
msg ( $key,... $params) | |
This is the method for getting translated interface messages. | |
Interface for localizing messages in MediaWiki.
Definition at line 29 of file MessageLocalizer.php.
MessageLocalizer::msg | ( | $key, | |
$params ) |
This is the method for getting translated interface messages.
string | string[] | MessageSpecifier | $key | Message key, or array of keys, or a MessageSpecifier. |
mixed | ...$params Normal message parameters |
Implemented in Action, MediaWiki\Context\ContextSource, MediaWiki\Context\DerivativeContext, MediaWiki\Context\RequestContext, MediaWiki\Language\LazyLocalizationContext, MediaWiki\ResourceLoader\Context, and MediaWiki\SpecialPage\SpecialPage.
Referenced by MediaWiki\Pager\PagerTools\__construct(), MediaWiki\Preferences\DefaultPreferencesFactory\editingPreferences(), MediaWiki\Preferences\DefaultPreferencesFactory\generateSkinOptions(), ChangeTags\getChangeTagList(), MediaWiki\EditPage\EditPage\getCopyrightWarning(), MediaWiki\Preferences\DefaultPreferencesFactory\getDateOptions(), ApiHelp\getHelp(), MediaWiki\Preferences\DefaultPreferencesFactory\getImageSizes(), MediaWiki\Linker\Linker\getInvalidTitleDescription(), TextSlotDiffRenderer\getTablePrefix(), MediaWiki\Skin\SkinComponentLastModified\getTemplateData(), MediaWiki\Preferences\DefaultPreferencesFactory\getThumbSizes(), MediaWiki\Preferences\DefaultPreferencesFactory\profilePreferences(), MediaWiki\Preferences\DefaultPreferencesFactory\renderingPreferences(), MediaWiki\Preferences\DefaultPreferencesFactory\searchPreferences(), MediaWiki\Preferences\DefaultPreferencesFactory\skinPreferences(), ChangeTags\tagLongDescriptionMessage(), ChangeTags\tagShortDescriptionMessage(), DeleteAction\tempDelete(), and MediaWiki\Preferences\DefaultPreferencesFactory\watchlistPreferences().