[Mediawiki-l] Upgrading MediaWiki in a Wiki-Family Setup

Norbert Hoeller nhoeller at sinet.ca
Tue Jun 26 16:39:25 UTC 2007


I am running multiple MediaWiki 1.10.0 instances on a shared Linux hosting 
service.  I am testing out having each instance point to a single set of 
source code, using the instructions at 
http://www.mediawiki.org/wiki/Manual:Wiki_family.  I had no success with 
Scenario 2.  Scenario 1 (symbolic links to source code files and 
directories) seemed to work nicely, with minimal changes.  However, I 
found that I could not upgrade using this method.  'upgrade.php' fails 
because it cannot find 'LocalSetting.php'.  It appears that when 
'commandLine.inc' fetches the current directory, it gets back the source 
code directory, not the symbolically linked directory under the Wiki 
instance.  This was reported in 
http://www.steverumberg.com/wiki/index.php/WikiHelp#Upgrading and a bypass 
suggested. 

Does anyone have suggestions on the best way to have multiple Wikis point 
to one set of source code and be able to upgrade painlessly?  Copying the 
LocalSettings.php file into the source code directory seems somewhat risky 
if/when memory fails...
        Thanks, Norbert


More information about the MediaWiki-l mailing list