Manual:$wgSiteTypes/ja

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>(配列)
<translate> Default value:</translate>(下記参照)

既定値

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