Manual:$wgPageLanguageUseDB

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgPageLanguageUseDB and the translation is 56% complete.
Other languages:
English • ‎français • ‎polski • ‎čeština • ‎русский • ‎中文 • ‎日本語
MediaWiki の設定: $wgPageLanguageUseDB
Allows to change the page language for MediaWiki pages
導入されたバージョン: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.

使用法

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;

関連項目