Manual:$wgInterwikiMagic/zh

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
<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

详情

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.