X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=UPGRADE;h=f55364fe33c57374a200796d74dd33e1ea84dda8;hb=158cd63833a1ba89dce77c7eecc71a1db47ab695;hp=fb600ff2606a3d3b62cbd22f7befe2627ad8c29a;hpb=ec92e3541d37e248672e6a53106083103c565e7c;p=lhc%2Fweb%2Fwiklou.git diff --git a/UPGRADE b/UPGRADE index fb600ff260..f55364fe33 100644 --- a/UPGRADE +++ b/UPGRADE @@ -4,14 +4,14 @@ specific problems, check * the documentation at http://www.mediawiki.org * the mediawiki-l mailing list archive at http://lists.wikimedia.org/pipermail/mediawiki-l/ -* the bug tracker at http://bugzilla.wikimedia.org +* the bug tracker at https://bugzilla.wikimedia.org for information and workarounds to common issues. == Overview == Comprehensive documentation on upgrading to the latest version of the software -is available at http://www.mediawiki.org/wiki/Manual:Upgrading_MediaWiki. +is available at http://www.mediawiki.org/wiki/Manual:Upgrading. === Consult the release notes === @@ -42,8 +42,7 @@ You can also obtain the new files directly from our Subversion source code repository, via a checkout or export operation. Replace the existing MediaWiki files with the new. You should preserve the -LocalSettings.php file, AdminSettings.php file (if present), and the -"extensions" and "images" directories. +LocalSettings.php file and the "extensions" and "images" directories. Depending upon your configuration, you may also need to preserve additional directories, including a custom upload directory ($wgUploadDirectory), @@ -51,8 +50,8 @@ deleted file archives, and any custom skins. === Perform the database upgrade === -You will need an AdminSettings.php file set up in the correct format; see -AdminSettings.sample in the wiki root for more information and examples. +You will need to have $wgDBadminuser and $wgDBadminpass set in your +LocalSettings.php, see there for more info. From the command line, browse to the "maintenance" directory and run the update.php script to check and update the schema. This will insert missing @@ -67,6 +66,11 @@ with $wgEnableUploads in later versions. When upgrading, consult the release notes to check for configuration changes which would alter the expected behaviour of MediaWiki. +=== Check installed extensions === +In MediaWiki 1.14 some extensions are migrated into the core. Please see the +RELEASE-NOTES section "Migrated extensions" and disable these extensions in your +localSettings.php + === Test === It makes sense to test your wiki immediately following any kind of maintenance @@ -167,10 +171,10 @@ should be replaced with: === Web installer === You can use the web-based installer wizard if you first remove the -LocalSettings.php (and AdminSettings.php, if any) files; be sure to -give the installer the same information as you did on the original -install (language/encoding, database name, password, etc). This will -also generate a fresh LocalSettings.php, which you may need to customize. +LocalSettings.php file; be sure to give the installer the same +information as you did on the original install (language/encoding, +database name, password, etc). This will also generate a fresh +LocalSettings.php, which you may need to customize. You may change some settings during the install, but be very careful! Changing the encoding in particular will generally leave you with a @@ -180,8 +184,8 @@ lot of corrupt pages, particularly if your wiki is not in English. Additionally, as of 1.4.0 you can run an in-place upgrade script from the command line, keeping your existing LocalSettings.php. This requires -that you create an AdminSettings.php giving an appropriate database user -and password with privileges to modify the database structure. +that you set $wgDBadminuser and $wgDBadminpassword with an appropriate +database user and password with privileges to modify the database structure. Once the new files are in place, go into the maintenance subdirectory and run the script: