Content-Length: 60835 | pFad | http://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgDefaultLanguageVariant

Manual:$wgDefaultLanguageVariant - MediaWiki Jump to content

Manual:$wgDefaultLanguageVariant

From mediawiki.org
Language, regional and character encoding settings: $wgDefaultLanguageVariant
Default language variant.
Introduced in version:1.9.0 (r18754)
Removed in version:Still in use
Allowed values:(string) or false
Default value:false

Details

[edit]

Default variant code, if false, the default will be the language code. Only works when it is defined as a variant in the LanguageConverter class of that language.

Usage

[edit]

In LocalSettings.php, one may set:

$wgLanguageCode = "sr"; $wgDefaultLanguageVariant = "sr-el";

This will use Serbian system messages in Latin-script, but report for javascript the simple contentlanguage="sr".

See also

[edit]








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.mediawiki.org/wiki/Special:MyLanguage/Manual:$wgDefaultLanguageVariant

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy