Manual:$wgDisabledVariants/zh

From Linux Web Expert

<translate> Language, regional and character encoding settings</translate>: $wgDisabledVariants
Disabled variants for language variant conversion.
<translate> Introduced in version:</translate>1.16.0 (r56560)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(数组)
<translate> Default value:</translate>[]

详情

Disabled variants for language variant conversion.

example:

$wgDisabledVariants[] = 'zh-mo';
$wgDisabledVariants[] = 'zh-my';

or:

$wgDisabledVariants = array( 'zh-mo', 'zh-my' );