User:Kelson/Wiki migration: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
<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 | |||
<source> | <source> |
Revision as of 21:48, 27 August 2013
- 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.
- 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>