Jump to content

Podręcznik:$wgInterwikiMagic

From mediawiki.org
This page is a translated version of the page Manual:$wgInterwikiMagic and the translation is 38% complete.
Language, regional and character encoding settings: $wgInterwikiMagic
Treat language links as magic connectors, not inline links.
Wprowadzono w wersji:Before 1.1.0
Usunięto w wersji:nadal w użyciu
Dozwolone wartości:(wartość logiczna)
Domyślna wartość:true

Szczegóły

Treat language links as magic connectors (interlanguage links), not inline links. If $wgInterwikiMagic is set to true and $wgHideInterlanguageLinks is set to false, interlanguage links (e.g. fr:La Foo) will show up in the sidebar.

An interwiki link is considered a language link if the interwiki prefix matches a MediaWiki language code, or if the prefix is present in $wgExtraInterlanguageLinkPrefixes .

On talk pages, interlanguage links are always parsed as inline links regardless of this setting.