Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2753534
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
Fri, Jul 3, 21:23 (16 h, 4 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
71/c2/d48c0d315288f12d641775229da3
Default Alt Text
DefaultSettings.php (835 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment