Manual:$wgDisabledVariants/zh

From Linux Web Expert

Revision as of 06:23, 8 April 2024 by 122.100.88.89 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<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' );