blob: 00d16a8e869cbe7c43dbb2959a31fa978be3ec32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
These instructions help you to upgrade your mediawiki installation.
Please NOTE: at this point it is supposed that you've already read
RELEASE-NOTES and done full wiki backup, as described here:
http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki
Run the update script
=====================
Note: Make sure there's an AdminSettings.php file in the wiki root, and it
contains up to date information. The user needs full permissions (shell
access) on the database. If there is no AdminSettings.php, create it:
$ cd ${MY_INSTALLDIR}
$ cp AdminSettings.sample AdminSettings.php
Now edit AdminSettings.php.
The preferred method of performing the update is using the command-line
maintenance script, although it is also possible to re-run the web-based
installer. To run command-line maintenance script, change to the maintenance
directory and execute the update script:
$ cd ${MY_INSTALLDIR}/maintenance
$ php update.php
MediaWiki will inspect the existing schema and update it to work with the new
code, adding tables and columns as needed.
For alternative ways to upgrade your wiki, please, take a look at:
http://www.mediawiki.org/wiki/Manual:Upgrading
Upgrade extensions
==================
Certain extensions have been updated in order to work with MediaWiki 1.13. Be
sure to upgrade to the latest versions of such extensions. You might need to
perform manual updates to custom extensions.
Test the update
===============
Once the upgrade has completed, browse to the wiki and check basics such as
viewing and editing pages to ensure things still work as expected.
Visit Special:Version and check that the version shown is correct.
|