#1272 Fedora wiki update
Closed: Fixed None Opened 15 years ago by mmcgrath.

Looks like the 1.14.X tree is now in epel proper. We'll want to test it and deploy it.


/Summary
By: Jose M Manimala
Type: Database Schema Compatibility Test(import the current wiki data into Mysql)
url: http://publictest10.fedoraproject.org/wiki/
Notes: Custom Fedore Theme not enabled. so it might look a little shabby but the data is all there!
Version: mediawiki 1.14.X
/

Steps followed

  1. Download and install the mediawiki 1.14 by means of yum

$ yum install mediawiki

  1. Get the current dump of data. In this case fpo-wiki.gz

$ gunzip fpo-wiki.gz

fpo-wiki

++ Fin ++
$ mv fpo-wiki fpo-wiki.sql

(not required just did it for clarity)

  1. Importing the data into mysql

mysql -u <username> -p <dbname> < <sqldump.sql>

$ mysql -u root -p wikidb < fpo-wiki.sql

  1. Now to check the old schema for changes using the update.php file.
    Prerequisites: Copy the LocalSettings.php file into the maintenance folder in the wiki root. Create a new file called AdminSettings.php with the following contents. Please remove the comments that are not needed
/
* Whether to enable the profileinfo.php script.
/
$wgEnableProfileInfo = true;

?>

now run

$ php update.php --aconf AdminSettings.php

Now it should give you a lot of verbose and end with done!

goto the wiki url and refresh the page.. The wiki should be updated and working

This upgrade has been completed.

Login to comment on this ticket.

Metadata