MediaWiki  REL1_31
MediaWikiI18N Class Reference

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. More...
 
 translate ( $value)
 @deprecate since 1.31 Use BaseTemplate::msg(), Skin::msg(), or wfMessage() instead. More...
 

Private Attributes

 $context = []
 

Detailed Description

Wrapper object for MediaWiki's localization functions, to be passed to the template engine.

Access:\n private

Definition at line 28 of file MediaWikiI18N.php.

Member Function Documentation

◆ set()

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().

◆ translate()

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().

Member Data Documentation

◆ $context

MediaWikiI18N::$context = []
private

Definition at line 29 of file MediaWikiI18N.php.


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