Manual:$wgSiteTypes/pl

From Linux Web Expert

<translate> Interwiki links and sites</translate>: $wgSiteTypes
Register handlers for specific types of sites.
<translate> Introduced in version:</translate>1.21.0 (Gerrit change 23528; git #I23c47c2)
<translate> Removed in version:</translate><translate> still in use</translate>
<translate> Allowed values:</translate>(array)
<translate> Default value:</translate>(patrz poniżej)

Default value

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.42
<translate> MediaWiki version:</translate>
$wgSiteTypes = [
	'mediawiki' => MediaWiki\\Site\\MediaWikiSite::class,
];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.41</tvar> is stable version</translate>">
1.31 – 1.41
<translate> MediaWiki versions:</translate>
$wgSiteTypes = [
	'mediawiki' => MediaWikiSite::class,
];
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.30</tvar> is unsupported version</translate>">
1.21 – 1.30
<translate> MediaWiki versions:</translate>
$wgSiteTypes = [
	'mediawiki' => 'MediaWikiSite',
];