Manual:$wgLocalInterwikis/pl

From Linux Web Expert

<translate> Interwiki links and sites</translate>: $wgLocalInterwikis
Array of interwiki prefixes for this wiki.
<translate> Introduced in version:</translate>1.23.0 (Gerrit change 110162; git #6cbdf65b)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array of strings)
<translate> Default value:</translate>[]

Szczegóły

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 .


Przykład

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'
];