Michael thank you so much, this good stuff to know. I will work on getting those Admin rights or getting some help. Also I was wondering if I create a new wiki from 1.14 do you recommend setting up the SVN repository if I plan to upgrade in the coming months or years? I don't know much about how this should be setup for the wiki. Do you have any wiki resources I should check out, so I can become a better admin for wikimedia?
Thank you for your help /jentzen
Michael Daly wrote:
Jentzen Mooney wrote:
I has be brought to my attention that the wiki installed is mediawiki-1.6.8. I would like to using all the new included stuff in the current wiki version like API,etc... I have read about the trickiness of upgrading your wiki if you are below a certain version, plus I do not have Admin rights to the box that the wiki is installed on.
Upgrading from 1.6.x to 1.14 shouldn't be difficult if you follow the instructions. That's not a *really* early version.
However, if you don't have admin rights and can't acquire them, upgrading is not much of an option.
How do I go about Transplanting the data that is in the current wiki to a newly installed wiki?
If you create a new wiki from 1.14, you can take the data from the older version and insert it into the new version. There are a few things you have to do.
1 - Use mysqldump to dump the entire contents of the old database. See the MySQL manual and the database backup information on mediawiki.org for assistance. 2 - When you install the new wiki, make sure you use the exact same database prefix as was used in the old database. If you look at the table names in the old database, you'll see the prefix. For example, if the image table is called "xx_images", then "xx" is the prefix. 3 - Once the new wiki is installed and basically functioning, restore the old database that you backed up using mysqldump to the new database. This will overwrite the entire DB's content with the old data. 4 - Copy all the files from the /wiki/images/ directory hierarchy into the same directories on the new wiki. 5 - Run the update.php maintenance script. This will convert the 1.6.* database you restored to the 1.14 formats etc. There's a bit of information on this in a file called UPGRADE in the new wiki's root directory
Test the wiki - it should be fine. BTW - you won't lose anything in doing this, so categories and such should all be there.
Mike
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l