Manual:$wgSiteTypes

From mediawiki.org
Jump to navigation Jump to search
Other languages:
English • ‎Nederlands • ‎français • ‎magyar • ‎日本語
Site customization: $wgSiteTypes
Register handlers for specific types of sites.
Introduced in version:1.21.0 (Gerrit change 23528; git #I23c47c2)
Removed in version:still in use
Allowed values:(array)
Default value:(see below)

Default value[edit]

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