mediawiki-l-request@Wikimedia.org schrieb:
Send MediaWiki-l mailing list submissions to mediawiki-l@Wikimedia.org
To subscribe or unsubscribe via the World Wide Web, visit http://mail.wikipedia.org/mailman/listinfo/mediawiki-l or, via email, send a message with subject or body 'help' to mediawiki-l-request@Wikimedia.org
You can reach the person managing the list at mediawiki-l-owner@Wikimedia.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of MediaWiki-l digest..."
Today's Topics:
- Re: Multiple wikis using same directory (Robert Leverington)
- Re: Multiple wikis using same directory (Joshua Yeidel)
- Question about some html tags (Nassim Hasan)
- Re: Question about some html tags (Dan Davis)
- Re: Question about some html tags (Dan Davis)
- How to let people stay logged in (rev 2) (Dave Yost)
- Re: Email password not working for some users (Rotem Liss)
- Re: Frage (HeinzJ)
- multiple wikis sharing ONLY images (HeinzJ)
- Active Directory Integration (J Wolfgang Goerlich)
Message: 1 Date: Fri, 27 Oct 2006 22:55:26 +0100 From: "Robert Leverington" lcarsdata@googlemail.com Subject: Re: [Mediawiki-l] Multiple wikis using same directory To: "MediaWiki announcements and site admin list" mediawiki-l@wikimedia.org Message-ID: 8a3c9ee0610271455t1eda1199g6971565a65ef826c@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Thanks, this is exactly what I was looking for :)
On 27/10/06, Luis Zarrabeitia kyrie@uh.cu wrote:
Ah, some other parts of the LocalSettings.php should be made dependant on the $db_lang in my solution, like the upload directory. Sorry about that... and don't forget to point me to a better solution if there is one :D
Cheers,
Zarrabeitia.
On Friday 27 October 2006 12:39, you wrote:
I hope you are not referring to my message "Mediawiki as a CMS." (I mean, what I did there was a hack, and though it worked for my (en|es).wikipedia mirror, I wouldn't exactly recommend it).
Still, if you are referring to my hack, here it is:
I installed a mediawiki in, for instance, /var/www/sites/wiki and pointed the en.wikipedia and the es.wikipedia virtualhosts to that folder.
On my localsettings.php,
==============
(...)
================
And that seems to work. (the ifs and the $db_lang variable were added by me). There are some problems with the maintenance scripts in this setup (they obviously don't define the _SERVER variable so they don't load the configuration properly so I have to work around that)
But given my 0 expertise with mediawiki, I'm sure there is a better way to do it :D
Cheers,
Zarrabeitia.
On Friday 27 October 2006 05:48, Robert Leverington wrote:
Someone on here was talking about how to run multiple wikis using the same wiki directory, I have a vague idea of how this could be done (using a index.php file with exactly the same contents but with a different name). But I don't know how I could set up the local settings file. When the person said about it I think he used an if statement but I don't know how to form one of those which has more than two possibilities.
Thanks,
-- Luis Zarrabeitia Fac. de Matem?tica y Computaci?n, UH. http://profesores.matcom.uh.cu/~kyrie _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Thanks Dan! Great help!
mediawiki-l@lists.wikimedia.org