Manual:$wgLocalInterwikis

This page is a translated version of the page Manual:$wgLocalInterwikis and the translation is 10% complete.
跨wiki链接和站点: $wgLocalInterwikis
Array of interwiki prefixes for this wiki.
引进版本:1.23.0 (Gerrit change 110162; git #6cbdf65b)
移除版本:仍在使用
允许的值:(array of strings)
默认值:[]

Details

Array for interwiki prefixes that point to the current wiki.

Recent changes feeds use only the first entry in this array. See configuration parameter $wgRCFeeds .


Example

The setting to this configuration parameter for a wiki at <test.example.org> which is being liked to with the interwiki prefixes 'test', 'foo' and 'bar':

$wgLocalInterwikis = [
	'test',
	'foo',
	'bar'
];

In case only 'test' is used as an interwiki prefix:

$wgLocalInterwikis = [
	'test'
];