[MediaWiki-l] setting up a wiki-farm
Hubert Patrick (NHQ-AC)
Patrick.Hubert at CSC-SCC.GC.CA
Thu Jul 6 13:49:38 UTC 2017
What I've done on Windows server is:
- Setup Wiki1 under apache\htdocs\wiki1
- create the wiki2 folder under apache\htdocs\
- create symbolic links from wiki2 pointing to wiki1 for every file and folder under wiki1 except localsetting.php file and the mw-config folder
- copy wiki1 's localsetting.php to wiki2, and change details accordingly such as
$wgSitename = "wiki2";
$wgScriptPath = "/wiki2";
$wgLanguageCode = "fr";
Maybe the DB details as well, both of my wikis are using the same DB so didn't change them...
- You can also make a copy of the mw-config folder (and it's files) into wiki2 but not sure if needed.
You should be able to access both Wiki individually, having each in their own language.
From: MediaWiki-l [mailto:mediawiki-l-bounces at lists.wikimedia.org] On Behalf Of Sharon Kimble
Sent: 6 juillet 2017 02:08
Subject: [MediaWiki-l] setting up a wiki-farm
I'm trying to set up a wiki-farm using the instructions at [fn:1] which I know are a bit old, but I like using sequential installation instructions.
However, wiki-1 installs perfectly with no problems, but if I try and install wiki-2 it states "A LocalSettings.php file has been detected. To upgrade this installation, please enter the value of $wgUpgradeKey in the box below. You will find it in LocalSettings.php."
I've tried using the upgrade key but am unable to progress further. I've tried removing the LocalSettings.php, installing wiki-2 and then replacing the LocalSettings.php from wiki-1. Wiki-1 still works, but
Wiki-1 has a prefix of 'df-' for its mariadb with the intention of
wiki-2 having a prefix of 'tg-'. So they're using the same database but with different prefixes for their respective tables.
Both of the sites that I'm using are purely localhost, they will have no internet presence at all, and are just intended to be used for generating and checking new pages in their respective wikis.
So how can I easily install wiki-2, and perhaps others, too please?
A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk DrugFacts = https://www.drugfacts.org.uk Debian 9.0, fluxbox 1.3.5-2, emacs 25.1.1, org-mode 9.0.7
More information about the MediaWiki-l