WMUK wiki migration/tech: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
 
No edit summary
Line 1: Line 1:
#REDIRECT [[WMUK wiki migration/strategy]]
* 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.
 
* 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:
<source lang="bash">
mirrorWmfDumps.pl --projectCode=ukwikimedia --databaseName=wiki --installPath=/var/www/wiki/w/ --databaseUsername=foo
--databasePassword=bar --withPageLinks --withMetaPages --withExternalLinks --withHistory --withSiteStats --withLogging
--withPageRestrictions --withUserGroups
</source>
 
* Mirror images:
<source lang="bash">
mirrorImageFiles.pl --host=uk.wikimedia.org --path=w --directory=/var/www/wiki/w/
</source>
 
* 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>

Revision as of 12:05, 28 August 2013

  • 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>