18 private $textFormatters = [];
28 $this->format = $format;
35 if ( !isset( $this->textFormatters[$langCode] ) ) {
37 $langCode,
new Converter(), $this->format );
39 return $this->textFormatters[$langCode];
if(!defined('MW_SETUP_CALLBACK'))
The persistent session ID (if any) loaded at startup.
The MediaWiki-specific implementation of ITextFormatter.
The Message class deals with fetching and processing of interface message into a variety of formats.
const FORMAT_TEXT
Transform {{..}} constructs but don't transform to HTML.