15if ( function_exists(
'wfDeprecatedMsg' ) ) {
17 'DefaultSettings.php is deprecated and will be removed. '
18 .
'Use the ConfigSchema service object instead.',
24foreach ( MainConfigSchema::listDefaultValues(
'wg' ) as $defaultSettingsVar => $defaultSettingsValue ) {
25 $$defaultSettingsVar = $defaultSettingsValue;
28unset( $defaultSettingsVar );
29unset( $defaultSettingsValue );
wfDeprecatedMsg( $msg, $version=false, $component=false, $callerOffset=2)
Log a deprecation warning with arbitrary message text.
This class contains schema declarations for all configuration variables known to MediaWiki core.