[Mediawiki-l] Multiple wikis using same directory

Mauro do Carmo mauro at carmo.info
Tue Oct 31 21:13:07 UTC 2006


Thank you folks,

I get three more questions though:

1- since there are two groups of table for each wiki, might there are two groups of user's accounts too. So if I have an account on
wiki1, I have to create another account on wiki2 if I want, right? Likewise, I have two wikiSysop, one for each wiki, and so on so
forth, right?

2- If one day I want to split those two wikis in two different folders, it seems like it would be very simple, right? I would just
need to copy the folder and readjust the LocalSettings.php, I guess...

3- I would like to know if that is all I need to have two wikis in the same folder:
==============
if ($_SERVER["HTTP_HOST"]=="es.wikipedia.uh.cu")
{
        $db_lang="es";
}
if ($_SERVER["HTTP_HOST"]=="en.wikipedia.uh.cu")
{
        $db_lang="en";
}

$wgDBserver         = "10.6.121.29";
$wgDBname           = "wiki";
$wgDBuser           = "wikipedia";
$wgDBpassword       = "wikipedia";
$wgDBprefix         = $db_lang;
$wgDBtype           = "mysql";
$wgDBport           = "5432";

(...)
$wgLanguageCode = $db_lang;
================

Regarding to the upload directory, if I want to use the same directory I guess I can leave up like it is not making any kind of
dependency of $db_lang, right?


Thanks a lot, 
mauro.






|-----Original Message-----
|From: mediawiki-l-bounces at Wikimedia.org [mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Luis
|Zarrabeitia
|Sent: Monday, October 30, 2006 10:50 AM
|To: MediaWiki announcements and site admin list
|Subject: Re: [Mediawiki-l] Multiple wikis using same directory
|
|On Sunday 29 October 2006 15:15, Mauro do Carmo wrote:
|> Thanks Zarrabeitia,
|>
|> So, if I understand this configuration allows us to use one folder with two
|> different databases according to the url the user enter, right? My question
|> is:
|>
|> 1) What is the advantage for this configuration?
|
|Actually, the main advantage I see is that I don't have to
|configure/change/personalize several different installations... only need to
|keep one up to date. Joshua  Yeidel's suggestion seems incredibly atractive,
|I'll look into that... anything to make maintenance easier :D.
|
|> 2) What configuration the wikipedia uses for the different address it has?
|
|I wish I knew. Good question! I look forward for the answer.
|
|Cheers,
|
|--
|Luis Zarrabeitia
|Fac. de Matemática y Computación, UH.
|http://profesores.matcom.uh.cu/~kyrie
|_______________________________________________
|MediaWiki-l mailing list
|MediaWiki-l at Wikimedia.org
|http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
|
|--
|No virus found in this incoming message.
|Checked by AVG Free Edition.
|Version: 7.1.408 / Virus Database: 268.13.17/505 - Release Date: 10/27/2006
|

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.13.17/505 - Release Date: 10/27/2006
 



More information about the MediaWiki-l mailing list