WMUK wiki migration/tech: Difference between revisions
No edit summary |
|||
Line 3: | Line 3: | ||
New wiki is available at [http://wiki.wikimedia.org.uk http://wiki.wikimedia.org.uk]. At the end of the migration, [http://www.wikimedia.org.uk http://www.wikimedia.org.uk] and [http://wikimedia.org.uk http://wikimedia.org.uk] will also point to it. [http://uk.wikimedia.org 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. | New wiki is available at [http://wiki.wikimedia.org.uk http://wiki.wikimedia.org.uk]. At the end of the migration, [http://www.wikimedia.org.uk http://www.wikimedia.org.uk] and [http://wikimedia.org.uk http://wikimedia.org.uk] will also point to it. [http://uk.wikimedia.org 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 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! | ||
=== Post-migration old wiki notice === | |||
=== Post-migration new wiki notice === | |||
== Data migration == | |||
; Mirror WMF dump | |||
<source lang="bash"> | <source lang="bash"> | ||
mirrorWmfDumps.pl --projectCode=ukwikimedia --databaseName=wiki --installPath=/var/www/wiki/w/ --databaseUsername=foo | mirrorWmfDumps.pl --projectCode=ukwikimedia --databaseName=wiki --installPath=/var/www/wiki/w/ --databaseUsername=foo | ||
Line 16: | Line 20: | ||
</source> | </source> | ||
; Mirror images | |||
<source lang="bash"> | <source lang="bash"> | ||
mirrorImageFiles.pl --host=uk.wikimedia.org --path=w --directory=/var/www/wiki/w/ | mirrorImageFiles.pl --host=uk.wikimedia.org --path=w --directory=/var/www/wiki/w/ | ||
</source> | </source> | ||
; Re-create users | |||
<source lang="bash"> | <source lang="bash"> | ||
listAllUsers.pl --host=uk.wikimedia.org --path=w > 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 | cat users | createMediawikiUsers.pl --path=/var/www/wiki/w/ --database=wiki --databaseUsername=foo --databasePassword=bar > userpasswords | ||
<source> | <source> | ||
== Send email to users == |
Revision as of 12:12, 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.
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 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!
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
<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>