On 7/12/06, Sloan, Noah M <Noah_Sloan(a)baylor.edu> wrote:
I've gathered that it's possible to run multiple wikis off of one MW
installation. Can someone point me to instructions?
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
See includes/SiteConfiguration.php. Unfortunately, I don't believe there
are good instructions anywhere.
Basically, you have some logic interface with SiteConfiguration from
LocalSettings.php. Since the SiteConfiguration class just exports variable
values, all you really need is some logic in LocalSettings.php to define the
appropriate $wgFoo variables, and you are set. Probably the easiest thing
to do is just change the database prefix, wiki name, permissions array, and
possibly a few others.
Currently, there is no good gui for automating the process. Although, I've
always wanted to write one...
Gregory Szorc
gregory.szorc(a)gmail.com