WMUK wiki migration/tech: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
Line 6: Line 6:


=== Pre-migration old wiki notice (From dd/mm/yyyy to dd/mm/yyyy) ===
=== Pre-migration old wiki notice (From dd/mm/yyyy to dd/mm/yyyy) ===
You are on Wikimedia UK's wiki, a website that is currently hosted by the Wikimedia Foundation. The hosting for this site will be migrated from the Foundation's datacenter to the Wikimedia UK's over the last week-end of September (28-29th September). It will not be possible to migrate non-public account information. This includes watch lists, account preferences, contact email, or current password for registered users. We will recreate 'stub-accounts' on the migrated site and will communicate to you your new password if you activate "Enable email from other users" in your user profile now! [[WMUK wiki migration|Want to know more]]?
You are on Wikimedia UK's wiki, a website that is currently hosted by the Wikimedia Foundation. The hosting for this site will be migrated from the Foundation's datacenter to the Wikimedia UK's over the last week-end of September (28-29th September). It will not be possible to migrate non-public account information. This includes watch lists, account preferences, contact email, or current password for registered users. We will recreate 'stub-accounts' on the migrated site and will communicate to you your new password if you [https://uk.wikimedia.org/wiki/Special:Preferences activate "Enable email from other users" in your user profile] now! [[WMUK wiki migration|Want to know more]]?


=== Post-migration old wiki notice (From 01/10/2013 to 01/04/2014) ===
=== Post-migration old wiki notice (From 01/10/2013 to 01/04/2014) ===

Revision as of 12:13, 29 August 2013

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 (From dd/mm/yyyy to dd/mm/yyyy)

You are on Wikimedia UK's wiki, a website that is currently hosted by the Wikimedia Foundation. The hosting for this site will be migrated from the Foundation's datacenter to the Wikimedia UK's over the last week-end of September (28-29th September). It will not be possible to migrate non-public account information. This includes watch lists, account preferences, contact email, or current password for registered users. We will recreate 'stub-accounts' on the migrated site and will communicate to you your new password if you activate "Enable email from other users" in your user profile now! Want to know more?

Post-migration old wiki notice (From 01/10/2013 to 01/04/2014)

You are visiting an archived read-only version of Wikimedia UK's website. This wiki was formerly hosted by the Wikimedia Foundation before being migrated to Wikimedia UK's server hosting in September 2013. Following migration the site url changed from http://uk.wikimedia.org to http://wiki.wikimedia.org.uk and this is where the current, editable version of the site is available. We have recreated 'stub-accounts' on the migrated site and to be able to communicate to you your new password (sent over night), you need to activate "Enable email from other users" in your user profile now! to know more?

Post-migration new wiki notice

You are on Wikimedia UK's wiki, a website that was formerly hosted by the Wikimedia Foundation. The hosting for this site was migrated from the Foundation's datacenter to the Wikimedia UK's over the last week-end of September (28-29th September). It was not possible to migrate non-public account information. This included watch lists, account preferences, contact email, or current password for registered users. 'Stub-accounts' have been created for registered users on this migrated site and a new password was communicated to users who activated "Enable email from other users" in their user profiles prior to migration. If you did not receive your new log in details please email info@wikimedia.org.uk. Want to know more?

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