Mediawiki Notes

From Simson Garfinkel
Revision as of 04:58, 19 March 2013 by Simson (talk | contribs) (Created page with "Here are the steps I followed for migrating a mediawiki installation: # create new wiki # dump SQL tables for users and groups on old wiki and load onto new one # run dumpUplo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Here are the steps I followed for migrating a mediawiki installation:

  1. create new wiki
  2. dump SQL tables for users and groups on old wiki and load onto new one
  3. run dumpUploads.php to get all of the uploaded files on old wiki.
  4. Put them all in a directory on the new server and run maintenance/importUploads to upload them all
  5. run maintenance/dumpBackup.php --full >file.xml on old wiki to produce XML file
  6. run maintenance/importDump file.xml on new wiki to get XML
  7. on new server, run:
    1. update.php
    2. refreshImageMetadata.php
    3. refreshLinks.php

Finally, change the nameservers to point to the new wiki