Tech:Rename a wiki

One should be careful renaming a wiki (database/domain) as it involves many steps and basically anything going wrong can make it impossible for users to login across the entire farm, or worse.

Following directions found here, I will update to clarify a little.

Note: The wiki should probably be made read-only before doing any of this, remember to make it readable after.
 * 1) One should create a complete SQL dump of the wiki to be renamed.
 * 2) * There are probably multiple ways of doing this, but I used  in my home directory, replacing "nameofwikidb" to be the name of the database, including the final "wiki". Note that this (if run in your home directory) creates the SQL dump in your home directory.
 * 3) Create an empty database for the new wiki.
 * 4) *  replacing "nameofnewwikidb" with the target subdomain + wiki.
 * 5) Import the SQL dump into the new database.
 * 6) *  replacing the wiki name, path, and file name as appropriate, but including the   at the end of the command.
 * 7) After the new wiki is created, run:
 * 8) Finally, AFTER YOU ARE VERY CERTAIN ALL OF THE ABOVE WAS DONE CORRECTLY, you may drop the old database.
 * 1) Finally, AFTER YOU ARE VERY CERTAIN ALL OF THE ABOVE WAS DONE CORRECTLY, you may drop the old database.

Swift
Double check Swift: If anything shows in the above, for each of them: If only empty directories or everything looks fine there (files returned by that are now only present on old container, not on the new wiki container), you can remove the old containers with:
 * example:
 * example:

Finally, run:

After rename

 * 1) If there is any configuration on LocalSettings.php change the DB name there as well.