Difference between revisions of "Mediawiki Notes"
From Simson Garfinkel
Jump to navigationJump to search
m (Simson moved page Mediawiki Migration to Mediawiki Notes) |
m |
||
Line 1: | Line 1: | ||
==MediaWiki Migration== | |||
Here are the steps I followed for migrating a mediawiki installation: | Here are the steps I followed for migrating a mediawiki installation: | ||
# create new wiki | # create new wiki | ||
Line 12: | Line 13: | ||
Finally, change the nameservers to point to the new wiki | Finally, change the nameservers to point to the new wiki | ||
==Mediawiki Migration without Shell Access to Old Server== | |||
Get the WikiTeam backup script that uses the API to create an XML backup from: | |||
* https://github.com/WikiTeam/wikiteam.git | |||
Create the new wiki | |||
Get shell access on the new wiki and import the XML backup with | |||
$ php maintenance/importDump.php wiki-YYYYMMDD-history.xml |
Latest revision as of 07:17, 14 January 2018
MediaWiki Migration
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 dumpUploads.php to get all of the uploaded files on old wiki.
- Put them all in a directory on the new server and run maintenance/importUploads to upload them all
- run maintenance/dumpBackup.php --full >file.xml on old wiki to produce XML file
- run maintenance/importDump file.xml on new wiki to get XML
- on new server, run:
- update.php
- refreshImageMetadata.php
- refreshLinks.php
Finally, change the nameservers to point to the new wiki
Mediawiki Migration without Shell Access to Old Server
Get the WikiTeam backup script that uses the API to create an XML backup from:
Create the new wiki
Get shell access on the new wiki and import the XML backup with
$ php maintenance/importDump.php wiki-YYYYMMDD-history.xml