手册:$wgVariantArticlePath

This page is a translated version of the page Manual:$wgVariantArticlePath and the translation is 100% complete.
语言、区域和字符编码设置: $wgVariantArticlePath
用于含有语言变体的链接。
引进版本:1.9.0 (r16967)
移除版本:仍在使用
允许的值:(字符串)或false
默认值:false

细节

在链接拥有语言变体时使用。 此设置由系统确定,除非在LocalSettings.php 中被覆盖。也可以手动设置,其中$2是变体名称,$1是页面名称,例如“/$2/$1”。

记得在设置后配置你的网页服务器。

參見