![]() Prior to UCP, the Fandom platform was using a heavily modified instance of MediaWiki 1.19, a version of the software which the Wikimedia Foundation had not supported since 2015. I mentioned how this would be different from the transition to UCP, so let me explain why for a second using that phone metaphor. ![]() This is our version of a software update. Every once in a while, your phone asks you to download and install software updates that bring (hopefully) improvements to your phone, security updates, and more. Think of it like an iPhone or Android update. A MediaWiki upgrade means updating to the most recent version of MediaWiki that’s available via the Wikimedia Foundation, which maintains the software that powers Fandom. I have checked that there are no missing figures, tables and pages in the upgraded version.Let’s start with the basics. Now can go to the website directly and see the final upgraded look : But actually, the upgrade is already done. You will need to key in the upgrade string that you have pasted into LocalSettings.php in the first time :Īs it proceeds, you will find it still “stalls” in some place like in below diagram. Then populate the table content in the new wiki1 MySQL database :Īfter new tables are created, click “Restart Installation” on the stalled page to restart the installation. Mysql> grant usage on *.* to grant all privileges on wiki1.* to mysql -u wikiuser -p wiki1 wiki2.sql Then drop the existing database manually, and then create all tables and populate their content in the new MediaWiki database wiki1 as follows : – replace all occurrence of /*_*/ with correct table prefix Then edit tables-new.sql with your favourite editor and do the following : To fix the above problem, manually create all new required tables by : The above problem occurs because page_restrictions table cannot be created which is opposed to what the log says in the web installer above. However, when it proceed, you will find the web installer “stalls” in the place for When it read your LocalSettings.php, it will detect you have MediaWiki tables in the database, so it will upgrade them for version 1.17.0 : Then place an upgrade string in the LocalSettings.php to proceed : Then run web-based installation script in mw-config/index.php, in my case. Preserve the LocalSettings.php file and the “extensions” and “images” directories. # mysql -u root -p mysql grant all PRIVILEGES on wiki1.* to Īccording to UPGRADE text file under mediawiki1.17.0 source directory, replace the existing MediaWiki files with the new files from 1.17.0. % mysqldump -u wikiuser -p wiki1 –single-transaction –default-character-set=latin1 -c > wiki1.sqlĭo a fix the privilege tables as follows (to avoid the flush privileges problem during migration) : Before the migration, backup the original mediawiki filesystem and also the mediawiki database “wiki1” : Since the old intranet running MediaWiki 1.6.9, and the new apache server is of php 5.3.6 so the intranet wiki won’t be shown up. Here is my refined upgrade steps :Ĭopy the old intranet wiki filesystem and wiki database to the new server. But it’s not straight forward like it mentions in the upgrade file, actually, I have met several problem during the progress. So I have also migrated our intranet running mediawiki from version 1.6.9 to 1.17.0 to it. As php version is upgraded to 5.36 in apache under centos5.6 in new server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |