Difference between revisions of "Upgrade a wiki"
From Organic Design wiki
m |
(put site down for maintenance first) |
||
Line 5: | Line 5: | ||
}} | }} | ||
− | + | Shell in and change to the wiki's directory in ''/var/www/wikis''. | |
+ | |||
+ | Put the site down for maintenance by adding ''$wgSiteDown = true;''' to it's ''LocalSettings.php'' file. | ||
+ | |||
+ | Update ''wiki'' symlink to point to the new code-base. | ||
Upgrading a wiki to a more recent version involves running the [[MW:Manual:Update.php|''update.php'']] [[MW:Manual:Maintenance scripts|maintenance]] script. Make sure that you have [[Creating an AdminSettings.php|created an AdminSettings.php]] first. | Upgrading a wiki to a more recent version involves running the [[MW:Manual:Update.php|''update.php'']] [[MW:Manual:Maintenance scripts|maintenance]] script. Make sure that you have [[Creating an AdminSettings.php|created an AdminSettings.php]] first. | ||
− | |||
For information on how to do this, see [[Run a wiki maintenance script]] | For information on how to do this, see [[Run a wiki maintenance script]] |
Revision as of 23:57, 27 January 2009
Upgrade a wiki Organic Design procedure |
Shell in and change to the wiki's directory in /var/www/wikis.
Put the site down for maintenance by adding $wgSiteDown = true;' to it's LocalSettings.php file.
Update wiki symlink to point to the new code-base.
Upgrading a wiki to a more recent version involves running the update.php maintenance script. Make sure that you have created an AdminSettings.php first.
For information on how to do this, see Run a wiki maintenance script