Manual:$wgInterwikiMagic/zh
From Linux Web Expert
<translate> Language, regional and character encoding settings</translate>: $wgInterwikiMagic | |
---|---|
Treat language links as magic connectors, not inline links. |
|
<translate> Introduced in version:</translate> | pre 1.1.0 |
<translate> Removed in version:</translate> | <translate> still in use</translate> |
<translate> Allowed values:</translate> | (布尔值) |
<translate> Default value:</translate> | true |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
详情
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.