We help IT Professionals succeed at work.

MediaWiki - Move a site

Last Modified: 2017-04-06
I am working on a project that involves "MediaWiki"; I am an experienced web developer, I have never used MediaWiki before.

The first thing I want to do is move a copy of the site to another location for several reasons; mostly just to make revisions on a test basis without disturbing the "live" site until we are ready to apply the new version.

Can someone point me in a direction on how to do this?

Watch Question

captainTechnical Director


With the caveat that I have not done this myself (yet) I have worked on Mediawiki sites in the past and just installed a fresh out of the box one on my own website (to be published)

In principle there are 4 main aspects:
  1. DB, most likely MySQL
  2. Core Mediawiki
  3. Customisations, such as custom skins, namespaces etc.
  4. Uploads and shared files

I would think that you backup everything flat, via FTP so any custom assets are backed up ready for re-upload. MySQL backups via DB export from original db and import into new target db. I cannot imagine it will be any more complex than that.

If the wiki has got self referring links with absolute URLs rather than relative it may get more complex as you have to find and replace old domain references with the new one...

MW has a detailed help source here

Richard KortsBusiness Owner / Chief Developer


Thanks, I found that link.

Not clear on the terms skins & namespaces, how do I find those?

Technical Director
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions