MediaWiki REL1_31
|
Wrapper object for MediaWiki's localization functions, to be passed to the template engine. More...
Public Member Functions | |
set ( $varName, $value) | |
@deprecate since 1.31 Use BaseTemplate::msg() or Skin::msg() instead for setting message parameters. | |
translate ( $value) | |
@deprecate since 1.31 Use BaseTemplate::msg(), Skin::msg(), or wfMessage() instead. | |
Private Attributes | |
$context = [] | |
Wrapper object for MediaWiki's localization functions, to be passed to the template engine.
Definition at line 28 of file MediaWikiI18N.php.
MediaWikiI18N::set | ( | $varName, | |
$value ) |
@deprecate since 1.31 Use BaseTemplate::msg() or Skin::msg() instead for setting message parameters.
Definition at line 35 of file MediaWikiI18N.php.
References $value, and wfDeprecated().
MediaWikiI18N::translate | ( | $value | ) |
@deprecate since 1.31 Use BaseTemplate::msg(), Skin::msg(), or wfMessage() instead.
Definition at line 43 of file MediaWikiI18N.php.
References $value, list, wfDeprecated(), and wfMessage().
|
private |
Definition at line 29 of file MediaWikiI18N.php.