手册:$wgInterwikiMagic

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgInterwikiMagic and the translation is 38% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎русский • ‎中文 • ‎日本語
本地化: $wgInterwikiMagic
Treat language links as magic connectors, not inline links.
引进版本:pre 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.