summaryrefslogtreecommitdiff
path: root/UPGRADE
diff options
context:
space:
mode:
Diffstat (limited to 'UPGRADE')
-rw-r--r--UPGRADE25
1 files changed, 21 insertions, 4 deletions
diff --git a/UPGRADE b/UPGRADE
index 70ccbadf..9862dc80 100644
--- a/UPGRADE
+++ b/UPGRADE
@@ -28,9 +28,9 @@ you take a complete backup of your wiki database and files and verify it. While
the upgrade scripts are somewhat robust, there is no guarantee that things will
not fail, leaving the database in an inconsistent state.
-Refer to the MySQL documentation for information on backing up a database. For
-information on making copies of files, consult the documentation for your
-operating system.
+Refer to the MySQL or Postgres documentation for information on backing up a
+database. For information on making copies of files, consult the documentation
+for your operating system.
=== Perform the file upgrade ===
@@ -73,6 +73,13 @@ procedure, and especially after upgrading; check that page views and edits work
normally and that special pages continue to function, etc. and correct errors
and quirks which reveal themselves.
+== Upgrading from 1.7 wikis ==
+
+$wgDefaultUserOptions now contains all the defaults, not only overrides.
+If you're setting this as a complete array(), you may need to change it
+to set only specific items as recommended in DefaultSettings.php.
+
+
== Upgrading from 1.6 wikis ==
$wgLocalTZoffset was in hours, it is now using minutes.
@@ -175,7 +182,7 @@ LocalSettings.php are not accidentally made public, as this contains
a database password.)
To back up the database, use the tools provided by your service provider
-(if applicable) or the standard mysqldump program.
+(if applicable) or the standard mysqldump or pg_dump programs.
For general help on mysqldump:
http://dev.mysql.com/doc/mysql/en/mysqldump.html
@@ -185,9 +192,19 @@ some cases damage data in your wiki. If necessary, set the charset
option to 'latin1' to avoid the conversion. Fore more info see:
http://mail.wikipedia.org/pipermail/wikitech-l/2004-November/026359.html
+For general help on pg_dump:
+http://www.postgresql.org/docs/current/static/app-pgdump.html
+
== Caveats ==
+=== Postgres ===
+
+Postgres support is new, and much of the upgrade instructions may
+not apply. The schema was changed significantly from 1.7 to 1.8,
+so you will need to at least use the update.php or web installer,
+as described above.
+
=== Upgrading from 1.4.2 or earlier ===