I'm don't know the answer to your question, Gunter, but I have a few pieces of advice:
1) If these are production, publicly available wikis, you really shouldn't be using xampp - it's not made for that. (If these are internal wikis, then please disregard).
2) If you want to make things really easy, and if you have access to do so, you should consider using an operating system which supports "soft linking". Then just point the second wiki's subdirectories at the first wiki's dirs.
3) If you're stuck with windows/xampp, the easiest thing may be to just actually install MediaWiki twice (once for each), then explore some kind of script (batch file?) to make upgrading easier. The Windows XCOPY command is probably all you need. Do "XCOPY /?" in the command prompt to see what options are available.
-- Jim
On 3/10/07, Gunter News2006@freenet.de wrote:
Hi,
I am trying to set up differnent wikis with the mainly the same source code (because installation and update is easier):
I set up two directories: wWikiA and wWikiB:
wWikiA is the full installation
wWikiB should only hold the LocalSettings.php and the files from the main dir, like index.php.
To access the code in wWikiA/includes etc. from wWikiB, I changed some in LocalSettings.php:
$IP = 'c:/Programme/xampp/htdocs/wWikiA'; $wgScriptPath = "/wWikiB"; $wgUploadPath = "/wWikiB/images"; #actually not necessary $wgStylePath = "/wWikiA/skins"; $wgDBprefix = "wb_";
Unfortunatly the wiki did not start. Some files need to be in the includes directory: Defines.php ProfileStub.php Setup.php WebStart.php
Is this a feature or a bug?
GunterS
PS: I can live with that, only 4 files and the files from the main folder are easy to replace.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l