Manual:$wgLanguageCode/zh

详情
网站语言代码. Usually set automatically with the installer List of languages codes can be found at. The code should be in lower case and use hyphen as separator. 例如：,  ,  ,

This specifies which language your page content is in, and also provides the default language for your wiki's interface. While users can switch the language of interface messages in their preferences, anonymous visitors will see the wiki's interface in the content language. provides a way to auto-detect the language of anonymous users and let them choose their interface language without logging in.

更改现有用户的语言设置
你可以使用 maintenance script来更改现有用户的语言设置. They will still be able to change their settings back unless you disable that option (see below).

禁用用户的语言选择
If you want to have your wiki in a certain language and not allow users to change this setting, there is a new variable in 1.16 and above, :