X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=UPGRADE;h=0e6ad9b0b82a92303faa6fe815b0e2f6ba6f4e41;hb=7ad35afab2a7d6a289097d6a23b2e00c1728c45a;hp=5e928067192c9976d482a97ae32d7b85729c76d2;hpb=c825abc4f95fb4d1358613a15f28976fe423a071;p=lhc%2Fweb%2Fwiklou.git diff --git a/UPGRADE b/UPGRADE index 5e92806719..0e6ad9b0b8 100644 --- a/UPGRADE +++ b/UPGRADE @@ -1,18 +1,17 @@ - This file provides an overview of the MediaWiki upgrade process. For help with specific problems, check -* the documentation at http://www.mediawiki.org +* the documentation at https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents * the mediawiki-l mailing list archive at http://lists.wikimedia.org/pipermail/mediawiki-l/ -* the bug tracker at https://bugzilla.wikimedia.org +* the bug tracker at https://phabricator.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. +is available at https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading === Consult the release notes === @@ -28,7 +27,7 @@ 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. -http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki provides an overview of +https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Backing_up_a_wiki provides an overview of the backup process. You should also refer to the documentation for your database management system for information on backing up a database, and to your operating system documentation for information on making copies of files. @@ -39,8 +38,8 @@ Download the files for the new version of the software. These are available as a compressed "tar" archive from the Wikimedia Download Service (http://download.wikimedia.org/mediawiki). -You can also obtain the new files directly from our Subversion source code -repository, via a checkout or export operation. +You can also obtain the new files directly from our Git source code +repository. Replace the existing MediaWiki files with the new. You should preserve the LocalSettings.php file and the "extensions" and "images" directories. @@ -81,7 +80,7 @@ The names of configuration variables, and their default values and purposes, can change between release branches, e.g. $wgDisableUploads in 1.4 is replaced with $wgEnableUploads in later versions. When upgrading, consult the release notes to check for configuration changes which would alter the expected -behaviour of MediaWiki. +behavior of MediaWiki. === Check installed extensions === @@ -110,6 +109,12 @@ In the "maintenance" directory, run the updateDoubleWidthSearch.php script. This will update the searchindex table for those pages that contain double-byte latin characters. +== Upgrading from 1.10 or earlier == + +If upgrading from before 1.11, and you are using a wiki as a commons +repository, make sure that it is updated as well. Otherwise, errors may arise +due to database schema changes. + == Upgrading from 1.8 or earlier == MediaWiki 1.9 and later no longer keep default localized message text @@ -136,6 +141,9 @@ to set only specific items as recommended in DefaultSettings.php. $wgLocalTZoffset was in hours, it is now using minutes. +If upgrading from before 1.7, you may want to run refreshLinks.php to ensure +new database fields are filled with data. + == Upgrading from 1.5 or earlier == Major changes have been made to the schema from 1.4.x. The updater @@ -150,7 +158,7 @@ UTF-8; an experimental command-line upgrade helper script, 'upgrade1_5.php', can do this -- run it prior to 'update.php' or the web upgrader. -NOTE that upgrade1_5.php does not work properly with recent version +NOTE that upgrade1_5.php does not work properly with recent versions of MediaWiki. If upgrading a 1.4.x wiki, you should upgrade to 1.5 first. upgrade1_5.php has been removed from MediaWiki 1.21. @@ -296,18 +304,3 @@ If you have a very old database (earlier than organized MediaWiki releases in late August 2003) you may need to manually run some of the update SQL scripts in maintenance/archives before the installer is able to pick up with remaining updates. - - -== Upgrading from UseModWiki or old "phase 2" Wikipedia code == - -There is a semi-maintained UseModWiki to MediaWiki conversion script at -maintenance/importUseModWiki.php; it may require tweaking and customization -to work for you. - -Install a new MediaWiki first, then use the conversion script which will -output SQL statements; direct these to a file and then run that into your -database. - -You will have to rebuild the links tables etc after importing. - -