blob: 0840f97fbf171deb0fa4f1ccdf9009f050189fb2 (
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
|
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 \$wgDBadminusr and \$wgDBadminpassword is set in your
LocalSettings.php file in your wiki root. The user needs full permissions
(shell access) on the database.
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 installed MediaWiki.
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.
|