Updating Mediawiki Installation: Difference between revisions
Updates for upgrading mediawiki |
mNo edit summary |
||
Line 53: | Line 53: | ||
Once you are done with the upgrade, look at, say, [[Recipe: python program reads cubed-sphere data]] and make sure the highlighting is there! | Once you are done with the upgrade, look at, say, [[Recipe: python program reads cubed-sphere data]] and make sure the highlighting is there! | ||
== Update the Database == | |||
=== Set repo to read only === | |||
Edit LocalSettings.php and uncomment the last line to set in read-only mode: | |||
# ------------------- | |||
# Added by M Thompson | |||
# This puts the wiki into readonly mode | |||
# ------------------- | |||
$wgReadOnly = 'Maintenance is underway. Website is on read-only mode'; | |||
=== Run update script === | |||
$ /usr/local/php56/bin/php maintenance/update.php |