Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7595
DefaultSettings.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
835 B
Referenced Files
None
Subscribers
None
DefaultSettings.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment