$wgDisabledVariants should disable variants based on "the language code with converter"
The DisabledVariants configuration option is used for multivariant sites.
However, it cannot distinguish the variant disabled for which converter, which means it won't work well when a language appeared as variant in multiple converters in multilanguage sites.
We should introduce new DisabledLanguageVariants configuration option to replace it.
$wgDisabledLanguageVariants= [ 'sr' => [ 'sr-el', ], 'zh' => [ 'zh-tw', ], ];
$wgDisabledLanguageVariants['zh'] = [ 'zh-tw', ];
$wgDisabledLanguageVariants['zh'][] = 'zh-tw';
Version: 1.39.2
Severity: normal
See also: