* @var array
*/
static public $languagesWithVariants = [
+ 'en',
'gan',
'iu',
'kk',
* @return string The converted text
*/
public function autoConvert( $text, $toVariant = false ) {
-
$this->loadTables();
if ( !$toVariant ) {
/**
* Reload the conversion tables.
*
+ * Also used by test suites which need to reset the converter state.
+ *
* @private
*/
- function reloadTables() {
+ private function reloadTables() {
if ( $this->mTables ) {
unset( $this->mTables );
}