3 * THIS IS A DEPRECATED STUB FILE!
5 * Default settings are now defined in the MainConfigSchema class.
7 * To get default values for configuration variables, use MainConfigSchema::listDefaultValues()
8 * or MainConfigSchema::getDefaultValue().
11 * @deprecated since 1.39
14 use MediaWiki\MainConfigSchema
;
16 if ( function_exists( 'wfDeprecatedMsg' ) ) {
18 'DefaultSettings.php is deprecated and will be removed. '
19 . 'Use MainConfigSchema::listDefaultValues() or MainConfigSchema::getDefaultValue() instead.',
24 // Extract the defaults into the current scope
25 foreach ( MainConfigSchema
::listDefaultValues( 'wg' ) as $defaultSettingsVar => $defaultSettingsValue ) {
26 $
$defaultSettingsVar = $defaultSettingsValue;
29 unset( $defaultSettingsVar );
30 unset( $defaultSettingsValue );