Author: mediawiki
Description:
I have installed mediawiki in one location on my host (as per Debian
policy/packaging).
I run Apache2 and want to set up a number of independent Wikis - the virtual
websites are all configured and ready to serve!
index.php includes ./LocalSettings.php - I need an option that makes it include
a LocalSettings.php specific to the Virtual Server that the index.php is being
served under.
As a proposal, if in my Virtual Server section I say:
SetEnv MEDIAWIKI site1
then I would want index.php to say something like:
$qualifier = getenv('MEDIAWIKI');
if ( $qualifier ) {
include_once("./$qualifier.LocalSettings.php");
} else {
include_once("./LocalSettings.php");
}
I would then be able to have completely separate virtual mediawikis, with a
single install of the software - separate databases etc etc etc.
Is this possible?
Regards & thanks,
Jeff
Version: unspecified
Severity: normal