Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7603
LocalSettings.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
922 B
Referenced Files
None
Subscribers
None
LocalSettings.php
View Options
<?php
// THIS IS NOT THE PLACE TO ADD CONFIG SETTINGS!!!!!
// This file is only for loading other config files.
$wikis
=
[
'www.wickedgov.org'
=>
'enwickedgov'
,
'meta.wickedgov.org'
=>
'metawiki'
,
'sterling.wickedgov.org'
=>
'ensterling'
,
'login.wickedgov.org'
=>
'loginwiki'
,
'tech.wickedgov.org'
=>
'entechwiki'
,
'commons.wickedgov.org'
=>
'commonswiki'
,
'test.wickedgov.org'
=>
'testwiki'
,
];
if
(
defined
(
'MW_DB'
)
)
{
// Automatically set from --wiki option to maintenance scripts
$wikiID
=
MW_DB
;
}
else
{
// Use MW_DB environment variable or map the domain name
$wikiID
=
$_SERVER
[
'MW_DB'
]
??
$wikis
[
$_SERVER
[
'SERVER_NAME'
]
??
''
]
??
null
;
}
if
(
$wikiID
)
{
require_once
"LocalSettings_$wikiID.php"
;
require_once
"InitialiseSettings.php"
;
}
else
{
die
(
'Unknown wiki.'
);
}
// Add any settings that should apply to all wikis below this line
// -------
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Sep 10, 08:13 (9 h, 48 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a1/9b/8f4b0bdfd2b02357a45c162d77c4
Default Alt Text
LocalSettings.php (922 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment