The DefaultLanguageVariant configuration option was introduced in 5b2a644 (r18754) and is used for multivariant sites.
However, it can only set for 1 variant, which means it doesn't work well with multilanguage sites.
We should introduce new DefaultLanguageVariants configuration option to replace it.
$wgDefaultLanguageVariants = [ 'sr' => 'sr-el', 'zh' => 'zh-tw', ];
$wgDefaultLanguageVariants['sr'] => 'sr-el';
Version: 1.22.0
Severity: normal
See also: