Manual:$wgPageLanguageUseDB/pl

From Linux Web Expert

<translate> Content handlers and storage</translate>: $wgPageLanguageUseDB
Allows to change the page language for MediaWiki pages
<translate> Introduced in version:</translate>1.24.0 (Gerrit change 135312; git #I0f82b14)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(boolean)
<translate> Default value:</translate>false

Szczegóły

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;

Zobacz też