Importing a Wiki

Importing a Wiki

To import in XML format, use the importDump script as part of MediaWiki installation.

Open a Web terminal:
  1. Upload the XML using the Upload button
  2. Run the following commands
    cd /app/code/maintenance
    php importDump.php < /tmp/dump.xml
    You might want to run rebuildrecentchanges.php to regenerate RecentChanges,
    and initSiteStats.php to update page and revision counts
    php rebuildrecentchanges.php
    php initSiteStats.php


When importing a wiki, the Main Page might still appear without the correct content. You can fix this by going to the Main Page's History and undoing the latest change. Please note that the administrator account needs a valid email for this to work (preferences -> confirm email address).