Updating Mediawiki Installation: Difference between revisions
mNo edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
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 MIME Types == | |||
Mediawiki's MIME tables need updating to allow .mm files as an XML file extension. To do this edit: | |||
includes/libs/mime/mime.types | |||
and change: | |||
application/xml xml xsl xsd kml | |||
to | |||
application/xml xml xsl xsd kml mm | |||
== Update the Database == | == Update the Database == | ||
=== Rename the wiki directory === | |||
First, you move away the old wiki directory and make the new install <tt>wiki/</tt> | |||
=== Set repo to read only === | === Set repo to read only === | ||
Line 69: | Line 87: | ||
$ /usr/local/php56/bin/php maintenance/update.php | $ /usr/local/php56/bin/php maintenance/update.php | ||
=== ISSUES === | |||
It turns out [https://www.mediawiki.org/wiki/Topic:Tv1swbwrwjpakgmk due to a bug in Mediawiki], you cannot run update.php if the site is in readonly mode. This is scary. It could mean inconsistent DB for any users on the wiki at that time. |