Jump to content

手册:$wgInterwikiMagic

From mediawiki.org
This page is a translated version of the page Manual:$wgInterwikiMagic and the translation is 38% complete.
语言、区域和字符编码设置: $wgInterwikiMagic
Treat language links as magic connectors, not inline links.
引进版本:1.1.0前
移除版本:仍在使用
允许的值:(布尔值)
默认值: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.