Jump to content

Manual:$wgVariantArticlePath

From mediawiki.org
Language, regional and character encoding settings: $wgVariantArticlePath
Used for links when having language's variants.
Introduced in version:1.9.0 (r16967)
Removed in version:Still in use
Allowed values:(string) or false
Default value:false

Details

[edit]

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.

See also

[edit]