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.

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