Handbuch:$wgSiteTypes

From mediawiki.org
This page is a translated version of the page Manual:$wgSiteTypes and the translation is 80% complete.
Other languages:
Interwiki-Links und Sites: $wgSiteTypes
Register handlers for specific types of sites.
Eingeführt in Version:1.21.0 (Gerrit change 23528; git #I23c47c2)
Entfernt in Version:weiterhin vorhanden
Erlaubte Werte:(Array)
Standardwert:(siehe unten)

Standardwert

MediaWiki Version:
1.31
/**
 * Register handlers for specific types of sites.
 *
 * @since 1.21
 */
$wgSiteTypes = [
	'mediawiki' => MediaWikiSite::class,
];
MediaWiki Versions:
1.21 – 1.30
$wgSiteTypes = [
	'mediawiki' => 'MediaWikiSite',
];