16if ( function_exists(
'wfDeprecatedMsg' ) ) {
18 'DefaultSettings.php is deprecated and will be removed. '
19 .
'Use MainConfigSchema::listDefaultValues() or MainConfigSchema::getDefaultValue() instead.',
25foreach ( MainConfigSchema::listDefaultValues(
'wg' ) as $defaultSettingsVar => $defaultSettingsValue ) {
26 $$defaultSettingsVar = $defaultSettingsValue;
29unset( $defaultSettingsVar );
30unset( $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.