Go to the documentation of this file.
41 $this->mLang = $langobj;
49 return [ $this->mLang->getCode() => $text ];
65 return $t->getPrefixedText();
69 return $this->mLang->getFormattedNsText( $ns );
76 return [ $this->mLang->getCode() ];
80 return $this->mLang->getCode();
84 return $this->mLang->getCode();
88 return $this->mLang->getCode();
119 if ( $variant ===
null ) {
122 $variant = strtolower( $variant );
123 return $variant === $this->mLang->getCode() ? $variant :
null;
convertCategoryKey( $key)
translate( $text, $variant)
autoConvertToAllVariants( $text)
markNoConversion( $text, $noParse=false)
validateVariant( $variant=null)
convertTo( $text, $variant)
getVariantFallbacks( $variant)
__construct(Language $langobj)
reloadTables()
Used by test suites which need to reset the converter state.
autoConvert( $text, $variant=false)
A fake language variant converter.
Represents a title within MediaWiki.
findVariantLink(&$l, &$n, $ignoreOtherCond=false)
updateConversionTable(Title $title)
Internationalisation code.