Open main menu

手册:$wgPageLanguageUseDB

This page is a translated version of the page Manual:$wgPageLanguageUseDB and the translation is 44% complete.
Other languages:
English • ‎français • ‎polski • ‎čeština • ‎русский • ‎中文 • ‎日本語
MediaWiki设置: $wgPageLanguageUseDB
允许更改MediaWiki页面的页面语言
引进版本:1.24.0 (Gerrit change 135312; git #I0f82b14)
移除版本:仍在使用
允许的值:(布尔值)
默认值:false

细节

Added ability to change the page language for MediaWiki pages using special page "Special:PageLanguage". All pages are set to wiki language by default.

Usage

The feature needs to be enabled with and the 'pagelang' right should be assigned to a user group e.g. "sysop". In "LocalSettings.php", one may set:

$wgPageLanguageUseDB = true;
$wgGroupPermissions['sysop']['pagelang'] = true;

See also