Topic on Project:Support desk

Can I install a new mediawiki and use an old mediawiki database?

4
Serrkind (talkcontribs)

We are currently running Mediawiki 1.19.

I upgraded the server OS from Ubuntu 12.04 to Ubuntu 14.04 and it broke the wiki extension Wiki2Latex.

PHP version is 5.5.9.

MySQL Database version is 5.5.57.

I would like to upgrade the mediawiki to 1.25 or 1.26 (I still need the LDAP extension functionality), but following the upgrade directions doesn't seem to be working.

Can I install a fresh copy of Mediawiki 1.25 or 1.26, refer it to the existing database and images and run update.php?

Thank you for the help.

2003:72:6D1A:8600:A467:F3F4:B77B:F6B1 (talkcontribs)

You definitely can upgrade from 1.19 to 1.26. While making that upgrade, you will also have to run update.php. A complete guide is available at Upgrading!

What is it that is not working as expected?

Serrkind (talkcontribs)

I was having issues getting the old LocalSettings.php to read the newer media wiki files. I ended up creating a new installation, connecting it to the old database, and going from there.

My next challenge is finding a replacement for the wiki2latex extension. Is using the Math extension the best option? Will it read the previous math equations used in the wiki2latex extension?

Ciencia Al Poder (talkcontribs)

If you don't find compatible extensions with your MediaWiki version, you should comment out the lines that include them in LocalSettings.php