Manual:$wgVariantArticlePath/ru

From Linux Web Expert

Revision as of 01:32, 6 December 2023 by imported>FuzzyBot (Updating to match new version of source page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<translate> Language, regional and character encoding settings</translate>: $wgVariantArticlePath
Used for links when having language's variants.
<translate> Introduced in version:</translate>1.9.0 (r16967)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(строка) или false
<translate> Default value:</translate>false

Details

Used for links when having language's variants. This is determined systematically unless overridden in LocalSettings.php , or you can set it manually with $2 as variant name and $1 as page name, like "/$2/$1".

Remember to configure your web server after setting this.

См. также