16 private string $format;
17 private array $textFormatters = [];
24 $this->format = $format;
31 if ( !isset( $this->textFormatters[$langCode] ) ) {
33 $langCode, $this->format );
35 return $this->textFormatters[$langCode];
if(!defined('MW_SETUP_CALLBACK'))
The MediaWiki-specific implementation of ITextFormatter.