Page MenuHomePhorge

DefaultSettings.php
No OneTemporary

Size
835 B
Referenced Files
None
Subscribers
None

DefaultSettings.php

<?php
/**
* THIS IS A DEPRECATED STUB FILE!
*
* Default settings are now defined in the MainConfigSchema class.
*
* To get default values for configuration variables, use MainConfigSchema::listDefaultValues()
* or MainConfigSchema::getDefaultValue().
*
* @file
* @deprecated since 1.39
*/
use MediaWiki\MainConfigSchema;
if ( function_exists( 'wfDeprecatedMsg' ) ) {
wfDeprecatedMsg(
'DefaultSettings.php is deprecated and will be removed. '
. 'Use MainConfigSchema::listDefaultValues() or MainConfigSchema::getDefaultValue() instead.',
'1.39'
);
}
// Extract the defaults into the current scope
foreach ( MainConfigSchema::listDefaultValues( 'wg' ) as $defaultSettingsVar => $defaultSettingsValue ) {
$$defaultSettingsVar = $defaultSettingsValue;
}
unset( $defaultSettingsVar );
unset( $defaultSettingsValue );

File Metadata

Mime Type
text/x-php
Expires
Wed, Sep 10, 07:42 (9 h, 17 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0b/fa/e41f343e235ecce32927c254e6ee
Default Alt Text
DefaultSettings.php (835 B)

Event Timeline