Page MenuHomeDevCentral

Creation of dynamic property SiteConfiguration::$localVHosts is deprecated
Closed, ResolvedPublic

Description

PHP 8.2 deprecation:

Deprecated: Creation of dynamic property SiteConfiguration::$localVHosts is deprecated in /srv/saas/mediawiki/LocalSettings.php on line 29

MediaWiki deprecation

This deprecation notice is welcome as:

Array of domains that are local and can be handled by the same server.

$localVHosts
Deprecated:
since 1.25; use $wgLocalVirtualHosts instead.
Definition at line 146 of file SiteConfiguration.php.