Manual:$wgSiteTypes
Appearance
Interwiki links and sites: $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) |
Other settings: Alphabetical | By function |
Default value
MediaWiki version: | ≥ 1.42 |
$wgSiteTypes = [
'mediawiki' => MediaWiki\\Site\\MediaWikiSite::class,
];
MediaWiki versions: | 1.31 – 1.41 |
$wgSiteTypes = [
'mediawiki' => MediaWikiSite::class,
];
MediaWiki versions: | 1.21 – 1.30 |
$wgSiteTypes = [
'mediawiki' => 'MediaWikiSite',
];