WMUK wiki migration/tech: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
== Details of the procedure ==
== Details of the procedure ==
* Notice on uk.wikipedia.org:
* Notice on uk.wikipedia.org:
<source lang="text">
<div>
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 possible to migrate. Unfortunately, we already know that we won't be able to migrated non-public information account information, this includes: watch lists, account configuration, email, password, ... We will recreate stub-accounts on the new instance and want to communicate to you your new password as soon as possible. So, please activate "Enable email from other users" in your user profile now!
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 possible to migrate. Unfortunately, we already know that we won't be able to migrated non-public information account information, this includes: watch lists, account configuration, email, password, ... We will recreate stub-accounts on the new instance and want to communicate to you your new password as soon as possible. So, please activate "Enable email from other users" in your user profile now!
</source>
</div>


* Mirror WMF dump:
* Mirror WMF dump:

Revision as of 12:09, 28 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.

Details of the procedure

  • Notice on uk.wikipedia.org:

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 possible to migrate. Unfortunately, we already know that we won't be able to migrated non-public information account information, this includes: watch lists, account configuration, email, password, ... We will recreate stub-accounts on the new instance and want to communicate to you your new password as soon as possible. So, please activate "Enable email from other users" in your user profile now!

  • 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

<source lang="bash"> 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 <source>