WMUK wiki migration/tech

From Wikimedia UK
Jump to navigation Jump to search

This page gather technical details about the wiki migration. Please don't edit this page and put comments on the talk page.

New wiki is available at http://wiki.wikimedia.org.uk. At the end of the migration, http://www.wikimedia.org.uk and http://wikimedia.org.uk will also point to it. http://uk.wikimedia.org which is the current instance hosted at the WMF will be put in read only during the migration and kep online for a few monthes.

Notices

Pre-migration old wiki notice

Wikimedia UK's wiki will be migrated from the Wikimedia Foundation's datacenter to the Wikimedia UK's one. This will happen during the last week-end of September. To assure a smooth transition, we will migrate everything which is possible to migrate. Unfortunately, we already know that we won't be able to migrate non-public account information; this includes: watch lists, account configuration, email, password, ... We will recreate stub-accounts on the new instance and want to be able to communicate to you your new password as soon as possible. So, please activate "Enable email from other users" in your user profile now! Want to know more?

Post-migration old wiki notice

Post-migration new wiki notice

Data migration

Mirror WMF dump
mirrorWmfDumps.pl --projectCode=ukwikimedia --databaseName=wiki --installPath=/var/www/wiki/w/ --databaseUsername=foo
--databasePassword=bar --withPageLinks --withMetaPages --withExternalLinks --withHistory --withSiteStats --withLogging 
--withPageRestrictions --withUserGroups
Mirror images
mirrorImageFiles.pl --host=uk.wikimedia.org --path=w --directory=/var/www/wiki/w/
Re-create users
listAllUsers.pl --host=uk.wikimedia.org --path=w > users
cat users | createMediawikiUsers.pl --path=/var/www/wiki/w/ --database=wiki --databaseUsername=foo --databasePassword=bar > userpasswords

Send email to users