Manual:$wgInterwikiMagic/zh

From Linux Web Expert

Revision as of 17:09, 11 December 2022 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>: $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.