r25089 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25088‎ | r25089 | r25090 >
Date:18:56, 23 August 2007
Author:robchurch
Status:old
Tags:
Comment:
General updates
Modified paths:
  • /trunk/phase3/UPGRADE (modified) (history)

Diff [purge]

Index: trunk/phase3/UPGRADE
@@ -16,7 +16,7 @@
1717 === Consult the release notes ===
1818
1919 Before doing anything, stop and consult the release notes supplied with the new
20 -version of the software. This detail bug fixes, new features and functionality,
 20+version of the software. These detail bug fixes, new features and functionality,
2121 and any particular points that may need to be noted during the upgrade
2222 procedure.
2323
@@ -27,32 +27,34 @@
2828 the upgrade scripts are somewhat robust, there is no guarantee that things will
2929 not fail, leaving the database in an inconsistent state.
3030
31 -Refer to the MySQL or Postgres documentation for information on backing up a
32 -database. For information on making copies of files, consult the documentation
33 -for your operating system.
 31+http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki provides an overview of
 32+the upgrade process. You should also refer to the documentation for your
 33+database management system for information on backing up a database, and to
 34+your operating system documentation for information on making copies of files.
3435
3536 === Perform the file upgrade ===
3637
37 -Having downloaded the desired new version of the software, either as a package
38 -from SourceForge, or via an export from Subversion, decompress the files as
39 -needed, and replace the existing MediaWiki files with the new.
 38+Download the files for the new version of the software. These are available
 39+as a compressed "tar" archive from the Wikimedia Download Service
 40+(http://download.wikimedia.org/mediawiki).
4041
41 -You should preserve:
 42+You can also obtain the new files directly from our Subversion source code
 43+repository, via a checkout or export operation.
4244
43 -* The LocalSettings.php file
44 -* The AdminSettings.php file, where it exists
45 -* The extensions directory
46 -* The images directory
 45+Replace the existing MediaWiki files with the new. You should preserve the
 46+LocalSettings.php file, AdminSettings.php file (if present), and the
 47+"extensions" and "images" directories.
4748
48 -If using an alternative uploads directory, preserve this; and if using custom
49 -skins, preserve these too. The core code is now updated.
 49+Depending upon your configuration, you may also need to preserve additional
 50+directories, including a custom upload directory ($wgUploadDirectory),
 51+deleted file archives, and any custom skins.
5052
5153 === Perform the database upgrade ===
5254
5355 You will need an AdminSettings.php file set up in the correct format; see
5456 AdminSettings.sample in the wiki root for more information and examples.
5557
56 -From the command line, browse to the maintenance directory and run the
 58+From the command line, browse to the "maintenance" directory and run the
5759 update.php script to check and update the schema. This will insert missing
5860 tables, update existing tables, and move data around as needed. In most cases,
5961 this is successful and nothing further needs to be done.
@@ -72,6 +74,8 @@
7375 normally and that special pages continue to function, etc. and correct errors
7476 and quirks which reveal themselves.
7577
 78+You should also test any extensions, and upgrade these if necessary.
 79+
7680 == Upgrading from 1.8 wikis ==
7781
7882 MediaWiki 1.9 and later no longer keep default localized message text

Follow-up revisions

RevisionCommit summaryAuthorDate
r25109Merged revisions 25016-25108 via svnmerge from...david07:30, 24 August 2007

Status & tagging log