<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://mars.merhot.dk/w/index.php?action=history&amp;feed=atom&amp;title=Mediawiki_upgrade_to_1.14</id>
		<title>Mediawiki upgrade to 1.14 - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://mars.merhot.dk/w/index.php?action=history&amp;feed=atom&amp;title=Mediawiki_upgrade_to_1.14"/>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=Mediawiki_upgrade_to_1.14&amp;action=history"/>
		<updated>2026-05-15T03:48:54Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.29.0</generator>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=Mediawiki_upgrade_to_1.14&amp;diff=4570&amp;oldid=prev</id>
		<title>Heth: /* Upgrading from UseModWiki or old &quot;phase 2&quot; Wikipedia code */</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=Mediawiki_upgrade_to_1.14&amp;diff=4570&amp;oldid=prev"/>
				<updated>2009-05-02T07:51:32Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Upgrading from UseModWiki or old &amp;quot;phase 2&amp;quot; Wikipedia code&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:51, 2 May 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l344&quot; &gt;Line 344:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 344:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You will have to rebuild the links tables etc after importing.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;You will have to rebuild the links tables etc after importing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Mediawiki]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Heth</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=Mediawiki_upgrade_to_1.14&amp;diff=4528&amp;oldid=prev</id>
		<title>Heth at 06:23, 2 May 2009</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=Mediawiki_upgrade_to_1.14&amp;diff=4528&amp;oldid=prev"/>
				<updated>2009-05-02T06:23:26Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:23, 2 May 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot; &gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;specific problems, check&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;specific problems, check&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [http://www.mediawiki.org/wiki/Manual:Upgrading mediawiki Manual Upgrading to 1.14]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the documentation at http://www.mediawiki.org&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the documentation at http://www.mediawiki.org&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the mediawiki-l mailing list archive at&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* the mediawiki-l mailing list archive at&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Heth</name></author>	</entry>

	<entry>
		<id>http://mars.merhot.dk/w/index.php?title=Mediawiki_upgrade_to_1.14&amp;diff=4461&amp;oldid=prev</id>
		<title>Heth: New page: This file provides an overview of the MediaWiki upgrade process. For help with specific problems, check  * the documentation at http://www.mediawiki.org * the mediawiki-l mailing list arch...</title>
		<link rel="alternate" type="text/html" href="http://mars.merhot.dk/w/index.php?title=Mediawiki_upgrade_to_1.14&amp;diff=4461&amp;oldid=prev"/>
				<updated>2009-04-30T05:02:26Z</updated>
		
		<summary type="html">&lt;p&gt;New page: This file provides an overview of the MediaWiki upgrade process. For help with specific problems, check  * the documentation at http://www.mediawiki.org * the mediawiki-l mailing list arch...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This file provides an overview of the MediaWiki upgrade process. For help with&lt;br /&gt;
specific problems, check&lt;br /&gt;
&lt;br /&gt;
* the documentation at http://www.mediawiki.org&lt;br /&gt;
* the mediawiki-l mailing list archive at&lt;br /&gt;
  http://lists.wikimedia.org/pipermail/mediawiki-l/&lt;br /&gt;
* the bug tracker at https://bugzilla.wikimedia.org&lt;br /&gt;
&lt;br /&gt;
for information and workarounds to common issues.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
Comprehensive documentation on upgrading to the latest version of the software&lt;br /&gt;
is available at http://www.mediawiki.org/wiki/Manual:Upgrading.&lt;br /&gt;
&lt;br /&gt;
=== Consult the release notes ===&lt;br /&gt;
&lt;br /&gt;
Before doing anything, stop and consult the release notes supplied with the new&lt;br /&gt;
version of the software. These detail bug fixes, new features and functionality,&lt;br /&gt;
and any particular points that may need to be noted during the upgrade&lt;br /&gt;
procedure.&lt;br /&gt;
&lt;br /&gt;
=== Backup first ===&lt;br /&gt;
&lt;br /&gt;
It is imperative that, prior to attempting an upgrade of the database schema,&lt;br /&gt;
you take a complete backup of your wiki database and files and verify it. While&lt;br /&gt;
the upgrade scripts are somewhat robust, there is no guarantee that things will&lt;br /&gt;
not fail, leaving the database in an inconsistent state.&lt;br /&gt;
&lt;br /&gt;
http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki provides an overview of&lt;br /&gt;
the upgrade process. You should also refer to the documentation for your&lt;br /&gt;
database management system for information on backing up a database, and to&lt;br /&gt;
your operating system documentation for information on making copies of files.&lt;br /&gt;
&lt;br /&gt;
=== Perform the file upgrade ===&lt;br /&gt;
&lt;br /&gt;
Download the files for the new version of the software. These are available&lt;br /&gt;
as a compressed &amp;quot;tar&amp;quot; archive from the Wikimedia Download Service&lt;br /&gt;
(http://download.wikimedia.org/mediawiki).&lt;br /&gt;
&lt;br /&gt;
You can also obtain the new files directly from our Subversion source code&lt;br /&gt;
repository, via a checkout or export operation.&lt;br /&gt;
&lt;br /&gt;
Replace the existing MediaWiki files with the new. You should preserve the&lt;br /&gt;
LocalSettings.php file, AdminSettings.php file (if present), and the&lt;br /&gt;
&amp;quot;extensions&amp;quot; and &amp;quot;images&amp;quot; directories.&lt;br /&gt;
&lt;br /&gt;
Depending upon your configuration, you may also need to preserve additional&lt;br /&gt;
directories, including a custom upload directory ($wgUploadDirectory),&lt;br /&gt;
deleted file archives, and any custom skins.&lt;br /&gt;
&lt;br /&gt;
=== Perform the database upgrade ===&lt;br /&gt;
&lt;br /&gt;
You will need an AdminSettings.php file set up in the correct format; see&lt;br /&gt;
AdminSettings.sample in the wiki root for more information and examples.&lt;br /&gt;
&lt;br /&gt;
From the command line, browse to the &amp;quot;maintenance&amp;quot; directory and run the&lt;br /&gt;
update.php script to check and update the schema. This will insert missing&lt;br /&gt;
tables, update existing tables, and move data around as needed. In most cases,&lt;br /&gt;
this is successful and nothing further needs to be done.&lt;br /&gt;
&lt;br /&gt;
=== Check configuration settings ===&lt;br /&gt;
&lt;br /&gt;
The names of configuration variables, and their default values and purposes,&lt;br /&gt;
can change between release branches, e.g. $wgDisableUploads in 1.4 is replaced&lt;br /&gt;
with $wgEnableUploads in later versions. When upgrading, consult the release&lt;br /&gt;
notes to check for configuration changes which would alter the expected&lt;br /&gt;
behaviour of MediaWiki.&lt;br /&gt;
&lt;br /&gt;
=== Check installed extensions ===&lt;br /&gt;
In MediaWiki 1.14 some extensions are migrated into the core. Please see the&lt;br /&gt;
RELEASE-NOTES section &amp;quot;Migrated extensions&amp;quot; and disable these extensions in your&lt;br /&gt;
localSettings.php&lt;br /&gt;
&lt;br /&gt;
=== Test ===&lt;br /&gt;
&lt;br /&gt;
It makes sense to test your wiki immediately following any kind of maintenance&lt;br /&gt;
procedure, and especially after upgrading; check that page views and edits work&lt;br /&gt;
normally and that special pages continue to function, etc. and correct errors&lt;br /&gt;
and quirks which reveal themselves.&lt;br /&gt;
&lt;br /&gt;
You should also test any extensions, and upgrade these if necessary.&lt;br /&gt;
&lt;br /&gt;
== Upgrading from 1.8 wikis ==&lt;br /&gt;
&lt;br /&gt;
MediaWiki 1.9 and later no longer keep default localized message text&lt;br /&gt;
in the database; 'MediaWiki:'-namespace pages that do not exist in the&lt;br /&gt;
database are simply transparently filled-in on demand.&lt;br /&gt;
&lt;br /&gt;
The upgrade process will delete any 'MediaWiki:' pages which are left&lt;br /&gt;
in the default state (last edited by 'MediaWiki default'). This may&lt;br /&gt;
take a few moments, similar to the old initial setup.&lt;br /&gt;
&lt;br /&gt;
Note that the large number of deletions may cause older edits to expire&lt;br /&gt;
from the list on Special:Recentchanges, although the deletions themselves&lt;br /&gt;
will be hidden by default. (Click &amp;quot;show bot edits&amp;quot; to list them.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See RELEASE-NOTES for more details about new and changed options.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Upgrading from 1.7 wikis ==&lt;br /&gt;
&lt;br /&gt;
$wgDefaultUserOptions now contains all the defaults, not only overrides.&lt;br /&gt;
If you're setting this as a complete array(), you may need to change it&lt;br /&gt;
to set only specific items as recommended in DefaultSettings.php.&lt;br /&gt;
&lt;br /&gt;
== Upgrading from 1.6 wikis ==&lt;br /&gt;
&lt;br /&gt;
$wgLocalTZoffset was in hours, it is now using minutes.&lt;br /&gt;
Link autonumbering got fixed (#5918) for protocols other than http.&lt;br /&gt;
 - 'irc://irc.server.tld/' render as a link with a chat icon&lt;br /&gt;
 - '[irc://irc.server.tld]' render as an autonumbered link: [1]&lt;br /&gt;
&lt;br /&gt;
== Upgrading from pre-1.5 wikis ==&lt;br /&gt;
&lt;br /&gt;
Major changes have been made to the schema from 1.4.x. The updater&lt;br /&gt;
has not been fully tested for all conditions, and might well break.&lt;br /&gt;
&lt;br /&gt;
On a large site, the schema update might take a long time. It might&lt;br /&gt;
explode, or leave your database half-done or otherwise badly hurting.&lt;br /&gt;
&lt;br /&gt;
Among other changes, note that Latin-1 encoding (ISO-8859-1) is&lt;br /&gt;
no longer supported. Latin-1 wikis will need to be upgraded to&lt;br /&gt;
UTF-8; an experimental command-line upgrade helper script,&lt;br /&gt;
'upgrade1_5.php', can do this -- run it prior to 'update.php' or&lt;br /&gt;
the web upgrader.&lt;br /&gt;
&lt;br /&gt;
If you absolutely cannot make the UTF-8 upgrade work, you can try&lt;br /&gt;
doing it by hand: dump your old database, convert the dump file&lt;br /&gt;
using iconv as described here:&lt;br /&gt;
http://portal.suse.com/sdb/en/2004/05/jbartsh_utf-8.html&lt;br /&gt;
and then reimport it. You can also convert filenames using convmv,&lt;br /&gt;
but note that the old directory hashes will no longer be valid,&lt;br /&gt;
so you will also have to move them to new destinations.&lt;br /&gt;
&lt;br /&gt;
Message changes:&lt;br /&gt;
* A number of additional UI messages have been changed from HTML to&lt;br /&gt;
  wikitext, and will need to be manually fixed if customized.&lt;br /&gt;
&lt;br /&gt;
=== Configuration changes from 1.4.x: ===&lt;br /&gt;
&lt;br /&gt;
$wgDisableUploads has been replaced with $wgEnableUploads.&lt;br /&gt;
&lt;br /&gt;
$wgWhitelistAccount has been replaced by the 'createaccount' permission&lt;br /&gt;
key in $wgGroupPermissions. To emulate the old effect of setting:&lt;br /&gt;
  $wgWhitelistAccount['user'] = 0;&lt;br /&gt;
set:&lt;br /&gt;
  $wgGroupPermissions['*']['createaccount'] = false;&lt;br /&gt;
&lt;br /&gt;
$wgWhitelistEdit has been replaced by the 'edit' permission key.&lt;br /&gt;
To emulate the old effect of setting:&lt;br /&gt;
  $wgWhitelistEdit = true;&lt;br /&gt;
set:&lt;br /&gt;
  $wgGroupPermissions['*']['edit'] = false;&lt;br /&gt;
&lt;br /&gt;
If $wgWhitelistRead is set, you must also disable the 'read' permission&lt;br /&gt;
for it to take affect on anonymous users:&lt;br /&gt;
  $wgWhitelistRead = array( &amp;quot;Main Page&amp;quot;, &amp;quot;Special:Userlogin&amp;quot; );&lt;br /&gt;
  $wgGroupPermissions['*']['read'] = false;&lt;br /&gt;
&lt;br /&gt;
Note that you can disable/enable several other permissions by modifying&lt;br /&gt;
this configuration array in your LocalSettings.php; see DefaultSettings.php&lt;br /&gt;
for the complete default permission set.&lt;br /&gt;
&lt;br /&gt;
If using Memcached, you must enabled it differently now:&lt;br /&gt;
  $wgUseMemCached = true;&lt;br /&gt;
should be replaced with:&lt;br /&gt;
  $wgMainCacheType = CACHE_MEMCACHED;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Web installer ===&lt;br /&gt;
&lt;br /&gt;
You can use the web-based installer wizard if you first remove the&lt;br /&gt;
LocalSettings.php (and AdminSettings.php, if any) files; be sure to&lt;br /&gt;
give the installer the same information as you did on the original&lt;br /&gt;
install (language/encoding, database name, password, etc). This will&lt;br /&gt;
also generate a fresh LocalSettings.php, which you may need to customize.&lt;br /&gt;
&lt;br /&gt;
You may change some settings during the install, but be very careful!&lt;br /&gt;
Changing the encoding in particular will generally leave you with a&lt;br /&gt;
lot of corrupt pages, particularly if your wiki is not in English.&lt;br /&gt;
&lt;br /&gt;
=== Command-line upgrade ===&lt;br /&gt;
&lt;br /&gt;
Additionally, as of 1.4.0 you can run an in-place upgrade script from&lt;br /&gt;
the command line, keeping your existing LocalSettings.php. This requires&lt;br /&gt;
that you create an AdminSettings.php giving an appropriate database user&lt;br /&gt;
and password with privileges to modify the database structure.&lt;br /&gt;
&lt;br /&gt;
Once the new files are in place, go into the maintenance subdirectory and&lt;br /&gt;
run the script:&lt;br /&gt;
&lt;br /&gt;
  php update.php&lt;br /&gt;
&lt;br /&gt;
See caveats below on upgrading from 1.3.x or earlier.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Backups! ==&lt;br /&gt;
&lt;br /&gt;
To upgrade an existing MediaWiki installation, first BACK UP YOUR WIKI!&lt;br /&gt;
If something goes wrong, you want to be able to start again.&lt;br /&gt;
&lt;br /&gt;
Your image files, configuration, etc can simply be copied or archived as&lt;br /&gt;
you would any other files. (Make sure that the contents of your&lt;br /&gt;
LocalSettings.php are not accidentally made public, as this contains&lt;br /&gt;
a database password.)&lt;br /&gt;
&lt;br /&gt;
To back up the database, use the tools provided by your service provider&lt;br /&gt;
(if applicable) or the standard mysqldump or pg_dump programs.&lt;br /&gt;
&lt;br /&gt;
For general help on mysqldump:&lt;br /&gt;
http://dev.mysql.com/doc/mysql/en/mysqldump.html&lt;br /&gt;
&lt;br /&gt;
WARNING: If using MySQL 4.1.x, mysqldump's charset conversion may in&lt;br /&gt;
some cases damage data in your wiki. If necessary, set the charset&lt;br /&gt;
option to 'latin1' to avoid the conversion.&lt;br /&gt;
&lt;br /&gt;
For general help on pg_dump:&lt;br /&gt;
http://www.postgresql.org/docs/current/static/app-pgdump.html&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
=== Postgres ===&lt;br /&gt;
&lt;br /&gt;
Postgres support is new, and much of the upgrade instructions may&lt;br /&gt;
not apply. The schema was changed significantly from 1.7 to 1.8,&lt;br /&gt;
so you will need to at least use the update.php or web installer,&lt;br /&gt;
as described above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading from 1.4.2 or earlier ===&lt;br /&gt;
&lt;br /&gt;
1.4.3 has added new fields to the sitestats table. These fields are&lt;br /&gt;
optional and help to speed Special:Statistics on large sites. If you&lt;br /&gt;
choose not to run the database upgrades, everything will continue to&lt;br /&gt;
work in 1.4.3.&lt;br /&gt;
&lt;br /&gt;
You can apply the update by running maintenance/update.php, or&lt;br /&gt;
manually run the SQL commands from this file:&lt;br /&gt;
  maintenance/archives/patch-ss_total_articles.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading from 1.4rc1 or earlier betas ===&lt;br /&gt;
&lt;br /&gt;
The logging table has been altered from 1.4beta4 to 1.4beta5&lt;br /&gt;
and again in 1.4.0 final. Copy in the new files and use the web&lt;br /&gt;
installer to upgrade, or the command-line maintenance/update.php.&lt;br /&gt;
&lt;br /&gt;
If you cannot use the automated installers/updaters, you may&lt;br /&gt;
update the table by manually running the SQL commands in these&lt;br /&gt;
files:&lt;br /&gt;
   maintenance/archives/patch-log_params.sql&lt;br /&gt;
   maintenance/archives/patch-logging-title.sql&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading from 1.3.x ===&lt;br /&gt;
&lt;br /&gt;
This should generally go smoothly.&lt;br /&gt;
&lt;br /&gt;
If you keep your LocalSettings.php, you may need to change the style paths&lt;br /&gt;
to match the newly rearranged skin modules. Change these lines:&lt;br /&gt;
  $wgStylePath        = &amp;quot;$wgScriptPath/stylesheets&amp;quot;;&lt;br /&gt;
  $wgStyleDirectory   = &amp;quot;$IP/stylesheets&amp;quot;;&lt;br /&gt;
  $wgLogo             = &amp;quot;$wgStylePath/images/wiki.png&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
to this:&lt;br /&gt;
  $wgStylePath        = &amp;quot;$wgScriptPath/skins&amp;quot;;&lt;br /&gt;
  $wgStyleDirectory   = &amp;quot;$IP/skins&amp;quot;;&lt;br /&gt;
  $wgLogo             = &amp;quot;$wgStylePath/common/images/wiki.png&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
As well as new messages, the processing of some messages has changed.&lt;br /&gt;
If you have customized them, please compare the new format using&lt;br /&gt;
Special:Allmessages or the relevant LanguageXX.php files:&lt;br /&gt;
  copyrightwarning&lt;br /&gt;
  dberrortext&lt;br /&gt;
  editingcomment  (was named commentedit)&lt;br /&gt;
  editingsection  (was named sectionedit)&lt;br /&gt;
  numauthors&lt;br /&gt;
  numedits&lt;br /&gt;
  numtalkauthors&lt;br /&gt;
  numtalkedits&lt;br /&gt;
  numwatchers&lt;br /&gt;
  protectedarticle&lt;br /&gt;
  searchresulttext&lt;br /&gt;
  showhideminor&lt;br /&gt;
  unprotectedarticle&lt;br /&gt;
&lt;br /&gt;
Note that the 1.3 beta releases included a potential vulnerability if PHP&lt;br /&gt;
is configured with register_globals on and the includes directory is&lt;br /&gt;
served to the web. For general safety, turn register_globals *off* if you&lt;br /&gt;
don't _really_ need it for another package.&lt;br /&gt;
&lt;br /&gt;
If your hosting provider turns it on and you can't turn it off yourself,&lt;br /&gt;
send them a kind note explaining that it can expose their servers and their&lt;br /&gt;
customers to attacks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading from 1.2.x ===&lt;br /&gt;
&lt;br /&gt;
If you've been using the MediaWiki: namespace for custom page templates,&lt;br /&gt;
note that things are a little different. The Template: namespace has been&lt;br /&gt;
added which is more powerful -- templates can include parameters for&lt;br /&gt;
instance.&lt;br /&gt;
&lt;br /&gt;
If you were using custom MediaWiki: entries for text inclusions, they&lt;br /&gt;
will *not* automatically be moved to Template: entries at upgrade time.&lt;br /&gt;
Be sure to go through and check that everything is working properly;&lt;br /&gt;
you can move them manually or you can try using moveCustomMessages.php&lt;br /&gt;
in maintenance/archives to do it automatically, but this might break things.&lt;br /&gt;
&lt;br /&gt;
Also, be sure to pick the correct character encoding -- some languages were&lt;br /&gt;
only available in Latin-1 on 1.2.x and are now available for Unicode as well.&lt;br /&gt;
If you want to upgrade an existing wiki from Latin-1 to Unicode you'll have&lt;br /&gt;
to dump the database to SQL, run it through iconv or another conversion tool,&lt;br /&gt;
and restore it. Sorry.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading from 1.1.x or earlier ===&lt;br /&gt;
&lt;br /&gt;
This is less thoroughly tested, but should work.&lt;br /&gt;
&lt;br /&gt;
You need to specify the *admin* database username and password to the&lt;br /&gt;
installer in order for it to successfully upgrade the database structure.&lt;br /&gt;
You may wish to manually change the GRANTs later.&lt;br /&gt;
&lt;br /&gt;
If you have a very old database (earlier than organized MediaWiki releases&lt;br /&gt;
in late August 2003) you may need to manually run some of the update SQL&lt;br /&gt;
scripts in maintenance/archives before the installer is able to pick up&lt;br /&gt;
with remaining updates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Upgrading from UseModWiki or old &amp;quot;phase 2&amp;quot; Wikipedia code ===&lt;br /&gt;
&lt;br /&gt;
There is a semi-maintained UseModWiki to MediaWiki conversion script at&lt;br /&gt;
maintenance/importUseModWiki.php; it may require tweaking and customization&lt;br /&gt;
to work for you.&lt;br /&gt;
&lt;br /&gt;
Install a new MediaWiki first, then use the conversion script which will&lt;br /&gt;
output SQL statements; direct these to a file and then run that into your&lt;br /&gt;
database.&lt;br /&gt;
&lt;br /&gt;
You will have to rebuild the links tables etc after importing.&lt;/div&gt;</summary>
		<author><name>Heth</name></author>	</entry>

	</feed>